Skip to content

Commit dd15bd7

Browse files
authored
Add bot token (#1962)
1 parent abfad56 commit dd15bd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
changelog:
1010
runs-on: ubuntu-latest
11+
if: ${{ github.repository_owner == 'openapi-ts' }}
1112
permissions:
1213
contents: write
1314
pull-requests: write
@@ -28,5 +29,5 @@ jobs:
2829
commit: "[ci] release"
2930
title: "[ci] release"
3031
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }}
3233
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)