Skip to content

fix: add explicit permissions to workflow - #407

Merged
weklund merged 1 commit into
mainfrom
fix/workflow-permissions
Jan 26, 2026
Merged

fix: add explicit permissions to workflow#407
weklund merged 1 commit into
mainfrom
fix/workflow-permissions

Conversation

@weklund

@weklund weklund commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add permissions: contents: read to module-checks-dev-requirements-change.yml to restrict GITHUB_TOKEN scope following principle of least privilege

Security

Resolves CodeQL code scanning alerts:

  • Alert #9 - get-modules job missing permissions
  • Alert #11 - test job missing permissions

Test plan

  • Verify workflow still runs successfully on PRs
  • Verify CodeQL alerts are resolved after merge

Add `permissions: contents: read` to module-checks-dev-requirements-change.yml
to restrict GITHUB_TOKEN scope following principle of least privilege.

Resolves CodeQL alerts #9 and #11 (actions/missing-workflow-permissions).
@weklund
weklund merged commit 11619ef into main Jan 26, 2026
2 checks passed
@weklund
weklund deleted the fix/workflow-permissions branch January 26, 2026 20:08
@kwangaws kwangaws mentioned this pull request Feb 9, 2026
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.

2 participants