Skip to content

Commit c960a6d

Browse files
committed
Update release workflow to use admin GitHub token
Changed GITHUB_TOKEN references to use secrets.ADMIN_GITHUB_TOKEN instead of secrets.GITHUB_TOKEN in the release workflow. This likely improves permissions or access for release operations.
1 parent acfaadb commit c960a6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
runs-on: ubuntu-latest
6464
environment: release
6565
env:
66-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
6767
steps:
6868
- name: "Checkout Repository"
6969
uses: actions/checkout@v5
@@ -75,7 +75,7 @@ jobs:
7575
shell: bash
7676
env:
7777
VERSION_BRANCH: ${{ needs.pre_config.outputs.branch_name }}
78-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
7979
run: |
8080
git fetch origin
8181
if ! git show-ref --verify --quiet refs/heads/$VERSION_BRANCH; then

0 commit comments

Comments
 (0)