Repository navigation
ci: pin every GitHub Action by full commit SHA - #1217
Merged
Merged
Conversation
Each `uses:` moves from a floating tag to the commit that tag resolves to today, with the version in a trailing comment. 99 references across 9 workflows; no input, permission or step change. Every pin is the latest release of the action except helm/kind-action, pinned at v1.14.0 (what @v1 resolves to now) rather than v1.15.0, whose new default kind v0.33.0 / kubectl v1.37.0 would change the Kubernetes version of the e2e and conformance clusters. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
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.
GitHub Actions cohort — pin every
uses:by full commit SHANo action was SHA-pinned on
main; every reference floated on a major tag (or, for setup-bazel, a version tag). Each one now names the exact commit the tag resolves to today, with the version in a trailing comment. 99 references acrossci.yaml,e2e.yaml,main.yaml,pages.yaml,proxy.yml,proxy-release.yml,publish.yaml,publish-verify.yaml,quay-smoke.yaml. Onlyuses:lines change — no input,permissions:or step edits.@v7@3d3c42e5…# v7.0.1v7→ same SHA)@0.19.0@c5acdfb2…# 0.19.0@v7@043fb46d…# v7.0.1@v8@3e5f45b2…# v8.0.1@v4@dbcb8138…# v4.6.0@v1@ef37e7f3…# v1.14.0v1→ v1.14.0) — see held back@v4@ceb8a2b8…# v4.0.3@v6@de7274f0…# v6.0.1@v5@9bc31f4e…# v5.0.1@v5@fc324d35…# v5.0.0@v5@368f8252…# v5.0.1SHAs were resolved with
gh api repos/<action>/git/ref/tags/<tag>(annotated tags dereferenced to the commit) and cross-checked against each repo's latest release. Every floating tag already pointed at the latest release excepthelm/kind-action@v1, so runtime behaviour is unchanged by this PR: it only removes the ability of a re-pointed tag to change what CI runs.Held back
DEFAULT_KIND_VERSIONv0.31.0 → v0.33.0 andDEFAULT_KUBECTL_VERSIONv1.35.0 → v1.37.0 (kind.sh).ci.yaml(e2e) and the two Gateway/Mesh conformance jobs ine2e.yamltake the defaults, so v1.15.0 would move their cluster Kubernetes version — a conformance environment change, out of scope for this sweep. Pinned at v1.14.0 (exactly what runs today); moving it is a one-line change once someone wants the newer kind node.Checks
go run github.com/rhysd/actionlint/cmd/[email protected](and v1.7.12): 5 findings, identical onmain(line numbers aside) — all pre-existing"github.head_ref" is potentially untrustedin inline scripts (ci.yaml×4,proxy.yml×1). Not touched here: no drive-by CI edits.uses:matches@[0-9a-f]{40} # <version>.permissions:line in the diff).actions/untrusted-checkoutonpublish-verify.yamlmay re-fire because that file is in the diff. It is the known false positive you dismiss yourself; I have not dismissed anything.gh pr update-branchwill not work on this PR (it touches.github/workflowsand the token lacksworkflowscope) — rebase over git if it falls behind.Merge order
Independent of every other cohort PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr