Skip to content

Commit 12dd38f

Browse files
chore: use secrets.ACCESS_TOKEN in release.yml
1 parent e4c41b8 commit 12dd38f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- name: Temporarily disable "include administrators" branch protection
2222
uses: benjefferies/[email protected]
2323
with:
24-
access_token: ${{ secrets.GITHUB_TOKEN }}
24+
access_token: ${{ secrets.ACCESS_TOKEN }}
2525
branch: ${{ github.event.repository.default_branch }}
2626
- env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
run: pnpm release-it
29-
- name: Enable "include administrators" branch protection
29+
- if: always()
30+
name: Enable "include administrators" branch protection
3031
uses: benjefferies/[email protected]
31-
if: always()
3232
with:
33-
access_token: ${{ secrets.GITHUB_TOKEN }}
33+
access_token: ${{ secrets.ACCESS_TOKEN }}
3434
branch: ${{ github.event.repository.default_branch }}

0 commit comments

Comments
 (0)