Skip to content

ci: pin GitHub Actions to full commit SHAs#3377

Open
XananasX7 wants to merge 2 commits into
nmap:masterfrom
XananasX7:fix/pin-actions-to-sha
Open

ci: pin GitHub Actions to full commit SHAs#3377
XananasX7 wants to merge 2 commits into
nmap:masterfrom
XananasX7:fix/pin-actions-to-sha

Conversation

@XananasX7

Copy link
Copy Markdown

Several workflow files reference GitHub Actions via mutable version tags (e.g. @v4, @v3) instead of full commit SHAs. This is a supply chain risk — a compromised action repository could silently alter CI behavior.

This PR pins each action to the exact commit SHA corresponding to the version tag, making the dependency immutable and auditable.

Recommended by GitHub security hardening guide and OpenSSF Scorecard.

XananasX7 added 2 commits June 3, 2026 02:52
Signed-off-by: El Mehdi Abenhazou <mehdiananas007@gmail.com>
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