Skip to content

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

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

Harden GitHub Actions: pin actions to SHAs and set explicit permissions#139
cbruno10 merged 2 commits 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 force-pushed the harden-github-actions branch from 9239561 to 0232eda Compare March 26, 2026 12:51
@cbruno10 cbruno10 force-pushed the harden-github-actions branch from 0232eda to cac87be Compare March 26, 2026 15:16
@cbruno10 cbruno10 merged commit 8b0874b 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