Skip to content

Commit b277a4c

Browse files
committed
[CI/Build] Use ADMIN_TOKEN in release workflow
Signed-off-by: Junwei Zhou <[email protected]>
1 parent 9e86b85 commit b277a4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/scheduled-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
runs-on: ubuntu-latest
2929
permissions:
3030
contents: write
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN }}
3133
outputs:
3234
new_version: ${{ steps.bump-version.outputs.new_version }}
3335
current_version: ${{ steps.bump-version.outputs.current_version }}
@@ -36,7 +38,7 @@ jobs:
3638
uses: actions/checkout@v4
3739
with:
3840
fetch-depth: 0
39-
token: ${{ secrets.GITHUB_TOKEN }}
41+
token: ${{ secrets.ADMIN_TOKEN }}
4042

4143
- name: Configure Git
4244
run: |

0 commit comments

Comments
 (0)