Skip to content

PE-1482: Add the scheduled Node.js version bump - #108

Merged
mpsq merged 5 commits into
mainfrom
node-version-from-nvmrc
Oct 22, 2026
Merged

mpsq merged 5 commits into
mainfrom
node-version-from-nvmrc

Conversation

@mpsq

@mpsq mpsq commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

PE-1482

CI reads the Node version from .nvmrc, and Dependabot cannot update that file. This adds a scheduled job that opens a one-file .nvmrc PR when a newer release of the same major is out.

  • scheduled-node-version-bump.yml runs at 06:00 and 18:00 UTC. It is a copy of the node-version-bump workflow in team-plain/github-actions, since a public repo cannot call a reusable workflow from a private one. It opens PRs with the GH_WORKFLOW_APP_* app so CI runs on them

Note

Low Risk
CI-only automation that opens PRs for .nvmrc updates; no runtime or application code changes, though it uses a GitHub App with contents/PR write for automation.

Overview
Adds a scheduled GitHub Actions workflow (scheduled-node-version-bump.yml) that keeps .nvmrc current when a newer same-major Node.js release exists—filling the gap left because Dependabot cannot update that file while CI already reads the version from it.

The job runs twice daily (06:00 and 18:00 UTC) and on manual dispatch. It checks out the default branch, compares the pinned semver in .nvmrc against nodejs.org’s index (skipping if .nvmrc is major-only or already up to date), then commits the bump on a fixed node-version-bump branch and opens or updates a single PR titled with PE-1482. Authentication uses the GitHub App (GH_WORKFLOW_APP_*) so PRs get normal CI runs; workflow permissions stay read-only at the workflow level with write scoped via the app token.

Reviewed by Cursor Bugbot for commit 4a32514. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread .github/workflows/scheduled-node-version-bump.yml Fixed
Comment thread .github/workflows/scheduled-node-version-bump.yml Outdated
@mpsq
mpsq requested review from a team, DLeyland and mattvagni and removed request for a team October 22, 2026 10:10
mpsq added 5 commits October 22, 2026 12:57
Calls the shared node-version-bump workflow on weekdays, which opens a one-file PR when a newer Node.js release of the .nvmrc major is out.
Runs a copy of the node-version-bump workflow from team-plain/github-actions at 06:00 and 18:00 UTC. A public repo cannot call a reusable workflow from a private one, so the job lives here.
@mpsq
mpsq force-pushed the node-version-from-nvmrc branch from 4a32514 to b263750 Compare October 22, 2026 11:57
@mpsq
mpsq enabled auto-merge (squash) October 22, 2026 11:57
@mpsq
mpsq disabled auto-merge October 22, 2026 11:58
@mpsq
mpsq merged commit f81a62a into main Oct 22, 2026
8 checks passed
@mpsq
mpsq deleted the node-version-from-nvmrc branch October 22, 2026 11:58
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.

3 participants