Skip to content

fix: add explicit workflow permissions - #36

Merged
shigechika merged 1 commit into
mainfrom
fix/workflow-permissions
Aug 11, 2026
Merged

fix: add explicit workflow permissions#36
shigechika merged 1 commit into
mainfrom
fix/workflow-permissions

Conversation

@shigechika

Copy link
Copy Markdown
Owner

Summary

Fixes the CodeQL actions/missing-workflow-permissions alert(s) by adding
a workflow-level permissions: contents: read default. No job needs a
broader grant.

Same fix already applied and verified in production on
shigechika/mcp-stdio#407 and 9 other fleet repos this week.

Test plan

  • CI passes on this PR.

CodeQL's actions/missing-workflow-permissions flagged this workflow
for relying on the implicit default GITHUB_TOKEN permissions instead
of declaring them. Adds a workflow-level permissions: contents: read
default; no job needs a broader grant.

Same fix already applied and verified in production on
shigechika/mcp-stdio#407 and 9 other fleet repos.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@shigechika
shigechika merged commit bfc3080 into main Aug 11, 2026
7 checks passed
@shigechika
shigechika deleted the fix/workflow-permissions branch August 11, 2026 23:28
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