Skip to content

fix: add explicit permissions to GitHub Actions workflows#157

Merged
creydr merged 1 commit into
functions-dev:mainfrom
creydr:fix/workflow-permissions
May 26, 2026
Merged

fix: add explicit permissions to GitHub Actions workflows#157
creydr merged 1 commit into
functions-dev:mainfrom
creydr:fix/workflow-permissions

Conversation

@creydr
Copy link
Copy Markdown
Collaborator

@creydr creydr commented May 26, 2026

Summary

  • Adds permissions: contents: read to 5 workflows that were missing explicit permission blocks
  • Addresses all 5 open CodeQL alerts (actions/missing-workflow-permissions, CWE-275)
  • Affected workflows: lint.yml, test.yml, test-e2e.yml, test-e2e-bundle.yml, verify-codegen.yml

Restrict GITHUB_TOKEN to read-only access in workflows that were
missing a permissions block, as flagged by CodeQL (CWE-275).
@creydr creydr enabled auto-merge May 26, 2026 06:55
@creydr creydr added this pull request to the merge queue May 26, 2026
Merged via the queue into functions-dev:main with commit ba52d00 May 26, 2026
11 checks passed
@creydr creydr deleted the fix/workflow-permissions branch May 26, 2026 08:31
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