Skip to content

ci: pin github actions to pull commit SHAs#57

Open
dzeveloper wants to merge 1 commit intoinsightsengineering:mainfrom
dzeveloper:pin-used-actions
Open

ci: pin github actions to pull commit SHAs#57
dzeveloper wants to merge 1 commit intoinsightsengineering:mainfrom
dzeveloper:pin-used-actions

Conversation

@dzeveloper
Copy link
Copy Markdown

This PR updates the GitHub Action workflows to use full length commit SHAs instead of mutable tags (e.g., @v2).
By pinning to a specific hash, we ensure that the code running in our CI/CD pipeline is exactly what we audited, protecting us from "tag shifting" where a version tag is moved to a different (potentially malicious) commit.

Using version tags like @V3 relies on trust that the maintainer’s account won't be compromised. If an attacker gains access to a dependency we use, they can push a malicious update to that tag, and our pipeline would automatically pull the compromised code.

Reference Incident: aquasecurity/trivy-action#541

@dzeveloper dzeveloper requested a review from a team as a code owner March 26, 2026 14:35
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 26, 2026

✅ All contributors have signed the CLA
Posted by the CLA Assistant Lite bot.

@dzeveloper
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

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