ci: Add keep-node-current workflow - #1354
Merged
Merged
Conversation
Adds a scheduled workflow that keeps Node versions current across .nvmrc, package.json engines, and the CI node-version matrix using TimothyJones/github-action-keep-node-current. Runs weekly (Mondays) plus workflow_dispatch. Requires a SYNC_PAT secret with workflow scope, since the default GITHUB_TOKEN cannot edit files under .github/workflows/. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
TimothyJones
enabled auto-merge (squash)
July 18, 2026 08:27
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.
Sets up keep-node-current to keep Node versions current across the repo.
What it does
A scheduled workflow (Mondays 06:15 UTC +
workflow_dispatch) that runs the action to bump Node versions as majors move in/out of support, opening a PR with any changes. It updates:.nvmrcpackage.jsonengines.nodenode-versionmatrix (e.g.build-and-test.yml)Follows repo conventions: SHA-pinned actions with version comments, hardened runner, least-privilege top-level
read-allwith write scoped to the job.Required setup before this works⚠️
SYNC_PATrepository secret. The defaultGITHUB_TOKENcannot edit files under.github/workflows/, which is needed to bump the CI matrix. Use a PAT withworkflowscope (classic:repo+workflow; fine-grained: Contents + Pull requests + Workflows, read & write).Pinned to
v1.0.1(f8b1f7c).🤖 Generated with Claude Code