Repository navigation
ci: pin e2e-k8s.yml action refs to commit SHAs - #2216
Merged
TerryHowe merged 1 commit intoOct 3, 2026
Merged
Conversation
davi713albano-coder
requested review from
TerryHowe,
Wwwsylvia,
sabre1041,
sajayantony and
shizhMSFT
as code owners
October 3, 2026 04:06
`e2e-k8s.yml` was the only workflow using floating major-version tags. Pin the three remaining refs to commit SHAs, matching the convention in every other workflow, so a mutable tag can no longer change CI without a commit. `actions/checkout` and `actions/setup-go` reuse the exact SHAs the other nine workflows already pin, so the repo runs a single version of each. `helm/kind-action` resolves to its latest stable v1 release, v1.15.0. Dependabot's `github-actions` ecosystem already uses a weekly catch-all group, so these stay current automatically. Closes #2210 Signed-off-by: Davi A.B. <[email protected]>
davi713albano-coder
force-pushed
the
ci-pin-e2e-k8s-shas
branch
from
October 3, 2026 04:07
621d124 to
3435ac5
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2216 +/- ##
=======================================
Coverage 88.14% 88.14%
=======================================
Files 139 139
Lines 6015 6015
=======================================
Hits 5302 5302
Misses 425 425
Partials 288 288 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
|
Thanks! |
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.
Summary
Pins the last three floating action refs in the repo to commit SHAs, per #2210.
.github/workflows/e2e-k8s.ymlwas the only workflow of the ten using floating major-version tags. All 23uses:refs in the other nine are already SHA-pinned; these three were not.actions/checkoutandactions/setup-goreuse the exact SHAs the other workflows already pin, so the repo keeps running a single version of each action:helm/kind-actionhas no existing pin, so it resolves to its latest stable v1 release, v1.15.0 (published 2026-09-02):Dependabot's
github-actionsecosystem already runs weekly with a catch-allpatterns: ["*"]group, sohelm/kind-actionis picked up automatically now that it is pinned. Nodependabot.ymlchange needed.Verification
git/ref/tags/<tag>andcommits/<sha>.helm/[email protected]is a lightweight tag (object.type: commit), so there is no annotated-tag dereference to get wrong.actionlint1.7.12 passes clean on this file and on the whole workflow directory.uses:.*@(v\d|main|master)now returns nothing, so no floating refs remain.Note
This only becomes load-bearing once #2208 makes
e2e-k8sthe only e2e gate, as the issue notes. It is safe to merge independently since it changes no behavior.