ci: pin GitHub Actions to commit SHAs; add Dependabot#6
Merged
Conversation
Supply-chain hardening. Every `uses:` in ci.yml now pins a full 40-char commit SHA with a trailing `# vX.Y.Z` comment, instead of a floating major tag (or, for gh-action-pypi-publish, the `release/v1` branch). A mutable ref can be silently repointed by an attacker who compromises an action's repo or a maintainer account; a SHA pin cannot. The pins resolve to the exact commits the floating refs pointed to at pin time, so CI behavior is unchanged. Add .github/dependabot.yml (github-actions ecosystem, weekly) — wlsqm had none. Dependabot updates SHA-pinned actions and bumps the version comment alongside, so pinning does not freeze the actions: security fixes still flow in as reviewable PRs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Go-latest fleet policy: pin to the newest release rather than the commit the floating tag happened to point at. v4.0.0 is the release vetted in this session (PyPA/henryiii, multi-week RC cadence); it's already green on pylu and pydgq with the same meson-python + MSVC Windows setup wlsqm uses. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supply-chain hardening (fleet pilot — wlsqm has the widest action set, so it goes first).
What
uses:inci.ymlis pinned to a full 40-char commit SHA + trailing# vX.Y.Zcomment, replacing floating major tags (and therelease/v1branch forgh-action-pypi-publish)..github/dependabot.yml(github-actions ecosystem, weekly) — wlsqm had none.Why
A floating tag/branch can be silently repointed if an action's repo or a maintainer account is compromised (cf. the
tj-actions/changed-filesincident, March 2025). A commit SHA is immutable. Dependabot understands SHA-pinned actions: it bumps both the SHA and the version comment, so pinning does not freeze the actions — security updates still arrive as reviewable PRs.Behavior
Pins resolve to the exact commits the floating refs pointed to at pin time, so CI runs identical code. Pure hardening, no functional change.
df4cb1ca309ff8043fb463e5f45b0b201ec8d2b08bcef2210🤖 Generated with Claude Code