Skip to content

ci: pin GitHub Actions to commit SHAs - #26

Merged
julien-deramond merged 1 commit into
mainfrom
ci/pin-actions-sha
Oct 19, 2026
Merged

julien-deramond merged 1 commit into
mainfrom
ci/pin-actions-sha

Conversation

@julien-deramond

Copy link
Copy Markdown
Member

Both workflows referred to actions/checkout and actions/setup-node by their v7 tag. A tag can be moved to another commit at any time, so whatever that tag points to runs in CI, including in publish.yml, which has the tokens that publish the theme to the VS Marketplace and npm.

This pins each action to the full commit SHA of its current release, actions/checkout v7.0.1 and actions/setup-node v7.1.0, with the version in a comment after it. A commit SHA can't be moved, so the code that runs is the code that was reviewed. Dependabot already watches github-actions here and updates pinned SHAs together with their version comments, so the weekly bumps keep coming in the same way.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@julien-deramond julien-deramond added the github_actions Pull requests that update GitHub Actions code label Oct 19, 2026
@julien-deramond
julien-deramond merged commit bd2c972 into main Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant