Skip to content

ci: pin GitHub Actions to SHA digests (fix zizmor unpinned-uses)#51

Merged
gadomski merged 1 commit intomainfrom
fix/pin-github-actions
Apr 3, 2026
Merged

ci: pin GitHub Actions to SHA digests (fix zizmor unpinned-uses)#51
gadomski merged 1 commit intomainfrom
fix/pin-github-actions

Conversation

@lhoupert
Copy link
Copy Markdown
Contributor

@lhoupert lhoupert commented Apr 3, 2026

Pin GitHub Actions to SHA digests

Zizmor detected 26 unpinned-uses findings in .github/workflows/.

GitHub Actions referenced by tag (e.g. actions/checkout@v4) are vulnerable to tag mutation — a compromised or hijacked tag can introduce malicious code into CI runs. Pinning to a full commit SHA (e.g. actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4) eliminates this supply-chain risk.

This PR pins all workflow steps to their current SHA using pin-github-action, fixing 26 findings.

Recommended next steps

  1. Dependabot is already configured for github-actions in this repo — pinned SHAs will be kept up-to-date automatically.
  2. Add zizmor-action for continuous workflow security scanning in CI.

References


Generated by ds-security-scanning zizmor-cli-unpinned-uses

@lhoupert lhoupert requested a review from gadomski as a code owner April 3, 2026 12:59
@gadomski gadomski merged commit ec5ab44 into main Apr 3, 2026
5 checks passed
@gadomski gadomski deleted the fix/pin-github-actions branch April 3, 2026 13:16
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.

2 participants