Skip to content

Commit ea0c4fc

Browse files
fix(ci): push release bump to main with ACTIONS_TOKEN
The init job checked out main with GITHUB_TOKEN (github-actions[bot]), which is not an admin, so its push of the version bump to the protected main branch was rejected with GH006. ACTIONS_TOKEN authenticates as the repo owner; with enforce_admins disabled it bypasses the PR requirement, matching how the publish steps already use it.
1 parent 71b06d8 commit ea0c4fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
ref: main
4242
fetch-depth: 0
43-
token: ${{ secrets.GITHUB_TOKEN }}
43+
token: ${{ secrets.ACTIONS_TOKEN }}
4444

4545
- uses: ./.github/actions/configure-signing
4646
with:

0 commit comments

Comments
 (0)