Skip to content

Commit a0fbd38

Browse files
committed
ci: bring the new vendor workflows onto the node24 pins
Reconciles with ecb1075, f3432ed and ea9cef8, which landed on main while this branch was open. The two new workflows were written against the pins that were current when the branch was cut, so after the rebase they were the only two files left on actions/checkout v4, setup-node v4, pnpm/action-setup v6 and a literal node-version: 24. Nothing would have failed. That is the point: a stale pin does not go red, it just quietly runs an older action, so this is exactly the kind of drift a rebase carries in without reporting it. Both jobs check out the repository, so they read the version from .nvmrc like everything else. The one remaining literal is release-vale.yml's publish step, which deliberately has no checkout for the file to be read from and documents that in place. Every workflow now resolves each action to a single SHA.
1 parent 83dd032 commit a0fbd38

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/ast-grep-upgrade.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ jobs:
8080
steps:
8181
# Credentials persist because this job pushes a branch. It holds no npm
8282
# identity and no id-token.
83-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
83+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8484

85-
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6
86-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
85+
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
86+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
8787
with:
88-
node-version: 24
88+
node-version-file: .nvmrc
8989

9090
# No dependency install: sg-detect.cjs is zero-dependency CommonJS, and
9191
# the lockfile step below needs pnpm rather than node_modules.

‎.github/workflows/vale-upgrade.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ jobs:
6464
steps:
6565
# Credentials persist because this job pushes a branch. It holds no npm
6666
# identity and no id-token.
67-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
67+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6868

69-
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6
70-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
69+
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
70+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
7171
with:
72-
node-version: 24
72+
node-version-file: .nvmrc
7373

7474
# No dependency install: the script is zero-dependency CommonJS, and the
7575
# lockfile step below needs pnpm rather than node_modules. GITHUB_TOKEN is

0 commit comments

Comments
 (0)