Skip to content

ci: add least-privilege permissions to GitHub Actions workflows - #2

Merged
oumaymabout merged 2 commits into
masterfrom
ci/fix-github-actions-security
Oct 9, 2026
Merged

oumaymabout merged 2 commits into
masterfrom
ci/fix-github-actions-security

Conversation

@oumaymabout

@oumaymabout oumaymabout commented Oct 5, 2026 •

Copy link
Copy Markdown

Adds an explicit top-level permissions: block (Semgrep rule gha-missing-workflow-permissions). Without it the workflow inherits the repository default token permissions, which are read/write here.

  • run_e2e.yaml: contents: read

Not changed (needs a manual look): run_tests.yaml

Also: run_tests.yaml: permissions: contents: read; coverallsapp/github-action@master pinned to 09b709cf…, the commit of tag v1.2.5 that master points to.

🤖 Generated with Claude Code

oumaymabout and others added 2 commits October 5, 2026 15:43
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oumaymabout
oumaymabout merged commit fd3fd84 into master Oct 9, 2026
1 of 2 checks passed
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