Skip to content

Conversation

wennergr
Copy link
Contributor

@wennergr wennergr commented Oct 3, 2025

What

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

See internal wiki page on supply chain security for further info

How

Used the tool Pinact to pin the SHA for GitHub Actions.

Review guide

User Impact

No impact

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

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.

Changes generated with the pinact tool.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Comment on lines +21 to +26
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
repository: ${{ steps.get-branch-and-repo.outputs.repo_full_name }}
ref: ${{ steps.comment-branch.outputs.head_ref }}
fetch-depth: 0 # needed to have the base branch available for the action below
- uses: stefanluptak/check-branch-up-to-date@v1
- uses: stefanluptak/check-branch-up-to-date@8b8b07b76e80b6f5f51b98d360844a9ca9c60b5b # v1

Check failure

Code scanning / CodeQL

Checkout of untrusted code in trusted context High

Potential execution of untrusted code on a privileged workflow (
issue_comment
)
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