Skip to content

security: add permissions to GitHub Actions workflows#710

Open
ujwalsah wants to merge 2 commits into
masterfrom
fix/add-workflow-permissions
Open

security: add permissions to GitHub Actions workflows#710
ujwalsah wants to merge 2 commits into
masterfrom
fix/add-workflow-permissions

Conversation

@ujwalsah

@ujwalsah ujwalsah commented May 5, 2026

Copy link
Copy Markdown

Summary

  • Add explicit permissions: contents: read to all workflow files missing a permissions block
  • Follows the principle of least privilege for GitHub Actions tokens
  • Resolves CodeQL alert actions/missing-workflow-permissions (NR-560198)

Test plan

  • Verify CI workflows still pass with the new permissions block
  • Confirm CodeQL alert is resolved after merge

ujwalsah added 2 commits May 5, 2026 14:15
Add explicit `permissions: contents: read` to all workflow files
that were missing a permissions block. This follows the principle of
least privilege and resolves CodeQL alert actions/missing-workflow-permissions.

Resolves: NR-560198
The release automation workflow creates commits to update the changelog.
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