Skip to content

Commit df9fe74

Browse files
committed
fix: use bot gh token to bypass branch protections
Signed-off-by: Taylor Price <[email protected]>
1 parent 573af6b commit df9fe74

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: Update GPTScript Version
1214
run: |
1315
TAG=${{ github.event.client_payload.tag }}
@@ -29,11 +31,13 @@ jobs:
2931
runs-on: ubuntu-latest
3032
steps:
3133
- uses: actions/checkout@v4
34+
with:
35+
token: ${{ secrets.BOT_GH_TOKEN }}
3236
- name: Bump version and push tag
3337
id: tag_version
3438
uses: mathieudutour/[email protected]
3539
with:
36-
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
github_token: ${{ secrets.BOT_GH_TOKEN }}
3741
custom_tag: ${{ github.event.client_payload.tag }}
3842
tag_prefix: ""
3943
- name: Create a GitHub release

0 commit comments

Comments
 (0)