Skip to content

Harden GitHub Actions: set explicit permissions#543

Merged
cbruno10 merged 1 commit intomainfrom
harden-github-actions
Mar 25, 2026
Merged

Harden GitHub Actions: set explicit permissions#543
cbruno10 merged 1 commit intomainfrom
harden-github-actions

Conversation

@cbruno10
Copy link
Copy Markdown
Contributor

Harden GitHub Actions workflows

  • Pin all action/workflow references to immutable commit SHAs
  • Add explicit minimal permissions blocks

Why: Prevents supply chain attacks where a tag could be moved to point to malicious code. Explicit permissions reduce blast radius if a workflow is compromised.

@cbruno10 cbruno10 merged commit 2c106b8 into main Mar 25, 2026
4 checks passed
@cbruno10 cbruno10 deleted the harden-github-actions branch March 25, 2026 21:26
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