Skip to content

Harden GitHub Actions: pin actions to SHAs and set explicit permissions#217

Merged
cbruno10 merged 2 commits into
mainfrom
harden-github-actions
Mar 26, 2026
Merged

Harden GitHub Actions: pin actions to SHAs and set explicit permissions#217
cbruno10 merged 2 commits into
mainfrom
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 force-pushed the harden-github-actions branch from 3571e3d to 4fbe06e Compare March 26, 2026 12:51
@cbruno10 cbruno10 force-pushed the harden-github-actions branch from 4fbe06e to c61ab3d Compare March 26, 2026 15:16
@cbruno10 cbruno10 merged commit f851bf0 into main Mar 26, 2026
5 checks passed
@cbruno10 cbruno10 deleted the harden-github-actions branch March 26, 2026 18:14
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