Skip to content

ci: Add keep-node-current workflow - #1354

Merged
TimothyJones merged 1 commit into
mainfrom
chore/keep-node-current
Jul 18, 2026
Merged

ci: Add keep-node-current workflow#1354
TimothyJones merged 1 commit into
mainfrom
chore/keep-node-current

Conversation

@TimothyJones

Copy link
Copy Markdown
Member

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:

  • .nvmrc
  • package.json engines.node
  • the CI node-version matrix (e.g. build-and-test.yml)

Follows repo conventions: SHA-pinned actions with version comments, hardened runner, least-privilege top-level read-all with write scoped to the job.

Required setup before this works ⚠️

  1. Create a SYNC_PAT repository secret. The default GITHUB_TOKEN cannot edit files under .github/workflows/, which is needed to bump the CI matrix. Use a PAT with workflow scope (classic: repo + workflow; fine-grained: Contents + Pull requests + Workflows, read & write).
  2. Enable PR creation: Settings → Actions → General → "Allow GitHub Actions to create and approve pull requests".

Pinned to v1.0.1 (f8b1f7c).

🤖 Generated with Claude Code

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
TimothyJones enabled auto-merge (squash) July 18, 2026 08:27
@TimothyJones
TimothyJones merged commit 91677d9 into main Jul 18, 2026
14 checks passed
@TimothyJones
TimothyJones deleted the chore/keep-node-current branch July 18, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant