Skip to content

ci: pin third-party GitHub Actions to commit SHAs - #2036

Open
arcticloud wants to merge 1 commit into
pyannote:developfrom
arcticloud:ci/pin-actions-to-sha
Open

arcticloud wants to merge 1 commit into
pyannote:developfrom
arcticloud:ci/pin-actions-to-sha

Conversation

@arcticloud

Copy link
Copy Markdown

Closes #2021.

All third-party actions were referenced by mutable tags (@v5, @v4, @v3.0.0).
A re-pointed tag on release.yml / doc.yml would run attacker code with the
publish/signing/pages token (cf. tj-actions/changed-files, CVE-2025-30066).

This pins every uses: to a full 40-char commit SHA with the version in a
trailing comment, so Renovate/Dependabot can still track updates. Applied with
pinact. No functional change to the workflows.

Pinned: actions/checkout, astral-sh/setup-uv, actions/setup-python,
actions/upload-artifact, actions/download-artifact, peaceiris/actions-gh-pages,
sigstore/gh-action-sigstore-python.

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