Skip to content

Add workflow permissions - #4337

Merged
sbrunner merged 1 commit into
masterfrom
add-workflow-permissions
Aug 14, 2026
Merged

Add workflow permissions#4337
sbrunner merged 1 commit into
masterfrom
add-workflow-permissions

Conversation

@sbrunner

Copy link
Copy Markdown
Member

Summary

Add explicit workflow permissions to GitHub Actions workflows to follow the principle of least privilege.

Context

GitHub Actions workflows should declare explicit permissions rather than relying on the default broad permissions. This is a security best practice recommended by GitHub.

Implementation Details

  • .github/workflows/monthly-release.yaml: Added top-level permissions: contents: write (needed for creating releases)
  • .github/workflows/pull-request-automation.yaml: Added top-level permissions: contents: read

@sbrunner
sbrunner merged commit ada58d4 into master Aug 14, 2026
17 of 18 checks passed
@sbrunner
sbrunner deleted the add-workflow-permissions branch August 14, 2026 12:34
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