Skip to content

COPP-8737: Pin third-party actions#2486

Merged
Soheil Novinfard (novinfard) merged 1 commit intomainfrom
turbolift-pin-third-party-actions
Feb 6, 2026
Merged

COPP-8737: Pin third-party actions#2486
Soheil Novinfard (novinfard) merged 1 commit intomainfrom
turbolift-pin-third-party-actions

Conversation

@lachlankidson
Copy link
Copy Markdown
Contributor

@lachlankidson Lachlan Kidson (lachlankidson) commented Feb 2, 2026

COPP-8737

This PR uses pinact to pin all third-party actions to a specific hash as part of our Zizmor rollout. This is a necessary security precaution for preventing supply-chain attacks. See zizmor/unpinned-uses for more details.

What do I need to do?

These PRs should "just work" - an action pinned by a commit ID is functionally equivalent to one pinned by a tag as long as the tag hasn't been fiddled with after the initial release.

How can I be sure of these changes?

You can check that the tags match the commit ID via the releases page of any given action.

In the future when we enable Zizmor on all repositories you will get warning annotations on PRs if the hash does not match the version comment, see zizmor/ref-version-mistmatch for more details.

If you'd like to opt-in to this behaviour early please see Getting started with zizmor on your repos.

How do I maintain these pins going forwards?

Automatically:

Manually:

  • Pinact can be used to programmatically convert tags to commit pins.
  • Tag and commit IDs can be found via the GitHub release pages of any actions.

How this change was made

A list of repositories was created by performing a code search against the current actions allowlist, pinact was then applied:

GITHUB_TOKEN=$(gh auth token) turbolift foreach -- pinact run -fix -diff -e "^[Ss]kyscanner/.*" -e "^actions/.*"

This PR was generated using turbolift.

Copilot AI review requested due to automatic review settings February 2, 2026 16:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR pins third-party GitHub Actions to specific commit hashes as a security measure to prevent supply-chain attacks, following the Zizmor rollout for safer GitHub Actions workflows.

Changes:

  • Pinned asdf-vm/actions/install@v4 to commit hash b7bcd026f18772e44fe1026d729e1611cc435d47 (v4.0.1)
  • Pinned peaceiris/actions-gh-pages@v4 to commit hash 4f9cc6602d3f66b9c108549d475ec49e8ef4d45e (v4.0.0)

@lachlankidson Lachlan Kidson (lachlankidson) added the dependencies Pull requests that update a dependency file label Feb 2, 2026
@novinfard Soheil Novinfard (novinfard) merged commit 50237e7 into main Feb 6, 2026
23 of 24 checks passed
@novinfard Soheil Novinfard (novinfard) deleted the turbolift-pin-third-party-actions branch February 6, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants