Skip to content

Commit 8c22859

Browse files
committed
fix: use bot user with permission to bypass branch protections
Signed-off-by: Taylor Price <[email protected]>
1 parent 1859b50 commit 8c22859

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/dispatch.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11+
with:
12+
token: ${{ secrets.BOT_GH_TOKEN }}
1113
- name: Install jq
1214
uses: dcarbone/[email protected]
1315
- name: Update GPTScript Version
@@ -28,11 +30,13 @@ jobs:
2830
runs-on: ubuntu-latest
2931
steps:
3032
- uses: actions/checkout@v4
33+
with:
34+
token: $${{ secrets.BOT_GH_TOKEN }}
3135
- name: Bump version and push tag
3236
id: tag_version
3337
uses: mathieudutour/[email protected]
3438
with:
35-
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
github_token: ${{ secrets.BOT_GH_TOKEN }}
3640
custom_tag: ${{ github.event.client_payload.tag }}
3741
tag_prefix: ""
3842
- name: Create a GitHub release

0 commit comments

Comments
 (0)