ci: pass GITHUB_TOKEN explicitly to checkout and release steps #15

Merged
JMR-dev merged 1 commits from claude/github-workflow-permissions-token-pNozt into main 2026-05-22 22:55:29 +00:00
Showing only changes of commit d7d87acb7e - Show all commits
+2
View File
@@ -33,6 +33,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ steps.ref.outputs.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Go
uses: actions/setup-go@v5
@@ -52,6 +53,7 @@ jobs:
- name: Create release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.ref.outputs.tag }}
name: ${{ steps.ref.outputs.tag }}
generate_release_notes: true