Pin GH Actions to commit sha#143
Closed
votdev wants to merge 1 commit into
Closed
Conversation
Signed-off-by: Volker Theile <vtheile@suse.com>
There was a problem hiding this comment.
Pull request overview
Pins external GitHub Actions used in this repository’s CI workflows to immutable commit SHAs to reduce supply-chain risk and improve build reproducibility.
Changes:
- Replaces floating action refs (e.g.,
@v4,@master,@main) with full commit SHAs in multiple workflows. - Adds inline version comments alongside SHAs to preserve human readability (e.g.,
# v4). - Pins CodeQL, Trivy, Docker, and Vault-secrets related actions consistently across build and scanning workflows.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/template-build.yml | Pins checkout + Docker-related actions + vault secrets action to SHAs in the reusable build workflow. |
| .github/workflows/scan.yml | Pins checkout, Trivy action, and SARIF upload action to SHAs in the vulnerability scanning workflow. |
| .github/workflows/fossa.yml | Pins vault secrets and FOSSA action to SHAs in the FOSSA scanning workflow. |
| .github/workflows/codeql-analysis.yml | Pins checkout and CodeQL actions to SHAs in the CodeQL analysis workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
Author
|
@Mergifyio backport v1.8 |
🟠 Waiting for conditions to matchDetails
|
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.
Pin GH Actions to commit sha
Related to: harvester/harvester#10279