Skip to content

Pin all GitHub Actions to commit SHA with version comment - #46

Merged
0x46616c6b merged 1 commit into
mainfrom
sha-pin-github-actions
Jul 26, 2026
Merged

Pin all GitHub Actions to commit SHA with version comment#46
0x46616c6b merged 1 commit into
mainfrom
sha-pin-github-actions

Conversation

@0x46616c6b

Copy link
Copy Markdown
Member

Summary

Pins every third-party GitHub Action to a full commit SHA instead of a mutable major-version tag, with the resolved version kept as a trailing comment for readability and Dependabot updates. This protects the reusable workflows (and every consuming role) against a compromised or force-moved tag.

  • actions/checkout3d3c42e… (v7.0.1)
  • actions/setup-python5fda3b9… (v7.0.0)
  • release-drafter/release-draftereada3c9… (v7.6.0)
  • fastify/github-action-merge-dependabot73ec4cb… (v3.15.0)

The local reusable-workflow reference (uses: ./.github/workflows/…) is left as-is, since it is a path within this repo and not SHA-pinnable.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@0x46616c6b
0x46616c6b marked this pull request as ready for review July 26, 2026 08:38
@0x46616c6b
0x46616c6b merged commit 15677fa into main Jul 26, 2026
6 checks passed
@0x46616c6b
0x46616c6b deleted the sha-pin-github-actions branch July 26, 2026 08:38
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