ci: move actions to Node 24 runtimes and add dependabot - #2
Merged
Merged
Conversation
GitHub is already force-running actions/checkout@v4 and actions/github-script@v7 on
Node 24 ahead of Node 20's removal from the runners. Bump both to their current
majors so the runtime is the pinned one rather than a fallback.
- audit.yml / ci.yml: actions/checkout v4 -> v7, actions/github-script v7 -> v9; both
declare node24. github-script v9 breaks require('@actions/github') and makes
getOctokit an injected param -- neither script block uses either, so no script edits.
- dependabot.yml: weekly grouped github-actions PRs (ci prefix) so these pins stop
drifting silently. The actionlint step's docker:// ref is outside Dependabot's
github-actions ecosystem; noted inline as a hand-bump.
- audit.yml / README: bump the pinned @anthropic-ai/claude-code default from 2.1.209
to 2.1.220 (npm latest).
peter-evans/create-pull-request (v8.1.1) and rhysd/actionlint (1.7.12) are already
current, and create-pull-request is already node24.
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.
Why
GitHub is force-running two of our pinned actions on Node 24 already, ahead of Node 20's
removal from the runners:
This repo also had no Dependabot config, which is why the pins drifted in the first place.
Changes
actions/checkoutv4v7actions/github-scriptv7v9peter-evans/create-pull-request5f6978f(v8.1.1)rhysd/actionlint(docker)1.7.12Also:
.github/dependabot.yml(new) — weeklygithub-actionsecosystem, grouped into a singlePR,
cicommit prefix to match this repo's scope-less conventional commits. Mirrorsslingshot/reputation's config.claude-code-versiondefault2.1.209→2.1.220(npm latest), with the README inputtable synced.
actions/checkout4 → 7 matches what Dependabot proposed inslingshot/reputation#4.Breaking-change review
.git/configinto a separate file; v7 blocks fork checkouts under
pull_request_target/workflow_run.None affect us —
audit-prpushes from the same persisted-credential worktree, and the gatealready rejects fork PRs and only runs under
pull_request/push.require('@actions/github')(now ESM-only) and makesgetOctokitan injected parameter. Both
script:blocks use onlyrequire('fs'),github.rest.*,github.paginate, andcontext— so v9 is a drop-in with no script changes.Verification
Ran the full CI matrix locally against the edited workflows:
actionlint1.7.12 — exit 0shellcheck engine/*.sh— cleanbats tests— 24/24 pass@anthropic-ai/claude-code@2.1.220confirmed on the npm registryFollow-up (not in this PR)
Consumers pin
audit.yml@v1, so this reaches them only oncev1is re-pointed — needs av1.4.0tag plus av1move after merge.