Skip to content

ci: pin GitHub Actions to full-length commit SHAs - #86

Open
inFocus7 wants to merge 1 commit into
kagent-dev:mainfrom
inFocus7:ci/pin-actions-sha
Open

inFocus7 wants to merge 1 commit into
kagent-dev:mainfrom
inFocus7:ci/pin-actions-sha

Conversation

@inFocus7

Copy link
Copy Markdown

Context

Pin the GitHub Actions used by this repo's workflows and composite actions to full commit SHAs instead of mutable tags or branches, so a moved tag or a compromised upstream cannot change what runs here. Behaviour is unchanged: each SHA is the commit the previous ref pointed to on 2026-10-16. The original version is kept as a trailing comment so the pin stays readable and updatable.

Changes

  1. actions/checkout@v4 → 11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 (2 places)
  2. actions/setup-go@v5 → 40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 (1 place)
  3. azure/setup-helm@v4 → 1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1 (3 places)
  4. docker/login-action@v3 → c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 (1 place)
  5. docker/setup-qemu-action@v3 → c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 (1 place)
  6. ko-build/setup-ko@v0.7 → 3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7 (1 place)
  7. softprops/action-gh-release@v2 → 3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2 (1 place)

Method

Pinned with pinact v5.0.0 and verified with pinact run --check --verify-comment. Each SHA was additionally cross-checked against an independent lookup of the same ref.

Notes

  • Workflows that only run on push, release, schedule or workflow_dispatch did not run on this PR; their pinned SHAs are identical to what those refs currently resolve to.
  • CI-only change with no user-facing effect; the release-note/none label keeps it out of the generated release notes.

Pin all `uses:` references in workflows and composite actions to full
commit SHAs, keeping the original ref as a trailing comment
(e.g. `actions/checkout@<sha> # v4.2.2`).

Generated with pinact v5.0.0 and verified with
`pinact run --check --verify-comment`.
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