Skip to content

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

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

ci: pin GitHub Actions to SHA digests (fix zizmor unpinned-uses)#63
vincentsarago 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 6 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 6 findings.

Recommended next steps

  1. Enable Dependabot for github-actions to keep pinned SHAs up-to-date automatically (a companion PR will be opened for this repo).
  2. Add zizmor-action for continuous workflow security scanning in CI.

References


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

@vincentsarago vincentsarago merged commit 4247f7d into main Apr 3, 2026
1 check passed
@vincentsarago vincentsarago deleted the fix/pin-github-actions branch April 3, 2026 13:19
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