Repository navigation
Pin GitHub Actions to commit SHAs - #3
Open
veselinstoyanovatlyst wants to merge 1 commit into
Open
veselinstoyanovatlyst wants to merge 1 commit into
veselinstoyanovatlyst wants to merge 1 commit into
Conversation
Pin actions/checkout and actions/setup-node to full commit SHAs in the publish and CI workflows, restrict the default GITHUB_TOKEN to read-only, stop persisting checkout credentials, and add Dependabot for action updates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
veselinstoyanovatlyst
force-pushed
the
CW-3994-pin-actions
branch
from
November 12, 2026 16:02
287c06b to
f1f28e5
Compare
| @@ -0,0 +1,6 @@ | |||
| version: 2 | |||
There was a problem hiding this comment.
i'm guessing we didn't have dependabot before... let's see if it works!
mylesfidlernolan
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
actions/checkout→a37ce91…(v3.7.0) andactions/setup-node→3235b87…(v3.9.1) in bothpublish.ymlandnode.js.yml(CI moves from v2 to v3). SHAs verified against the upstream tag refs.permissions: contents: readon both workflows.persist-credentials: falseon checkout (nothing pushes back to the repo)..github/dependabot.ymlfor thegithub-actionsecosystem, so pin bumps arrive as reviewed PRs.Not in this PR
Moving publishing to npm trusted publishing (OIDC) and revoking the long-lived
NPM_TOKENneeds npmjs.com org admin access — tracked as a follow-up.Testing
npm publishis expected to fail with "cannot publish over the previously published version", which still confirms checkout/setup-node work at the pins.