Skip to content

Commit 59693fc

Browse files
milldrclaude
andcommitted
fix: use REPO_ACCESS_TOKEN for release creation to bypass tag protection
GITHUB_TOKEN doesn't have permission to create tags due to repository ruleset restrictions. REPO_ACCESS_TOKEN (PAT) has elevated permissions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 8796097 commit 59693fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/generate-library.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,14 @@ jobs:
218218
219219
- name: Delete Existing Release
220220
env:
221-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
221+
GH_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
222222
run: |
223223
gh release delete library-docs-latest --yes || true
224224
git push origin :refs/tags/library-docs-latest || true
225225
226226
- name: Create Release
227227
env:
228-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
228+
GH_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
229229
run: |
230230
gh release create library-docs-latest \
231231
--title "Library Docs (Latest)" \

0 commit comments

Comments
 (0)