Skip to content

ci: restrict GITHUB_TOKEN permissions in workflows - #3

Merged
ngoyal16 merged 1 commit into
mainfrom
ci/workflow-permissions
Nov 17, 2026
Merged

ngoyal16 merged 1 commit into
mainfrom
ci/workflow-permissions

Conversation

@ngoyal16

Copy link
Copy Markdown
Contributor

Resolves CodeQL alerts #1 and #2 (actions/missing-workflow-permissions).

  • ci.yml: permissions: contents: read (the reusable go-ci job only needs contents: read)
  • semantic-pull-request.yml: permissions: pull-requests: read (matches the reusable semantic-pr job)

release-please.yml already declares explicit permissions.

🤖 Generated with Claude Code

Resolves CodeQL actions/missing-workflow-permissions alerts #1 and #2.
CI needs contents: read; the PR title check needs pull-requests: read
(matching the reusable workflows' own job permissions).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ngoyal16
ngoyal16 merged commit 74529a1 into main Nov 17, 2026
2 checks passed
@ngoyal16
ngoyal16 deleted the ci/workflow-permissions branch November 17, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant