Pin github actions to specific SHA-s - #19
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hardens the repository’s GitHub Actions workflows by pinning third-party actions to immutable commit SHAs (reducing supply-chain risk from tag drift), and improves tooling installation reproducibility in CI.
Changes:
- Pinned
actions/checkout,actions/setup-go,actions/cache,docker/*andgithub/codeql-action/*workflow dependencies to specific commit SHAs. - Replaced Helm installation via
curl | bashwith a pinnedazure/setup-helmaction and an explicit Helm version. - Added SHA-256 verification for the downloaded
yqtarball in the release workflow.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/vulnerability-scan.yml | Pins checkout + Go setup actions to SHAs for the scheduled vulnerability scan job. |
| .github/workflows/test-chart.yml | Pins checkout + Go setup actions and switches Helm install to pinned azure/setup-helm with a fixed Helm version. |
| .github/workflows/release.yaml | Pins build/release-related actions (checkout, Go, Docker actions, Helm) and adds yq checksum verification. |
| .github/workflows/codeql.yml | Pins CodeQL workflow actions (checkout, init, analyze) to SHAs. |
| .github/workflows/build-and-test.yaml | Pins checkout, Go setup, and cache actions to SHAs for CI build/test and security scan jobs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
tar xz < file can be non-portable / fail depending on the tar implementation because stdin isn’t guaranteed to be used as the archive without -f. Use tar -xzf <file> (or tar -xzf - < file) to reliably extract the downloaded archive. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
haahaakon
marked this pull request as ready for review
June 19, 2026 11:29
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.
No description provided.