Skip to content

Commit 02798aa

Browse files
cgrindelclaude
andcommitted
ci: add read permissions for GitHub token in CI workflow
Grant contents and pull-requests read permissions to the auto-generated GITHUB_TOKEN to fix HTTP 403 errors when tests call the GitHub API's releases/generate-notes endpoint. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 4bacdbb commit 02798aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ name: Continuous Integration
1616
concurrency:
1717
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1818
cancel-in-progress: true
19+
permissions:
20+
contents: read
21+
pull-requests: read
1922
jobs:
2023
all_ci_tests:
2124
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)