Skip to content

Conversation

wennergr
Copy link
Contributor

@wennergr wennergr commented Oct 2, 2025

Summary

  • Pin all GitHub Actions to their specific SHA1 hashes to reduce supply chain attack risk
  • Replaces version tags (v4, v2) with specific commit SHAs
  • Includes version comments for easier reference

Changes

  • actions/checkout@v4actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
  • pnpm/action-setup@v2pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2.4.1
  • actions/setup-node@v4actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
  • actions/upload-artifact@v4actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

Pin all GitHub Actions to their specific SHA1 hashes to reduce the risk of supply chain attacks. This ensures that the exact version of each action is used and prevents potential malicious updates from automatically being incorporated.
@wennergr wennergr requested a review from teallarson October 2, 2025 20:24
@wennergr wennergr merged commit 10a9d02 into main Oct 3, 2025
2 checks passed
@wennergr wennergr deleted the wennergr/pin-github-actions-sha1 branch October 3, 2025 19:08
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.

2 participants