timothyjones/Keep Node Current
Keeps your repository's Node.js versions in sync with the official release schedule.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token used to create the commits/branch and open the pull request via the GitHub API. Needs the workflow scope (or equivalent Workflows: write permission) to edit workflow files. Recommended: a short-lived Octo STS token. Defaults to the workflow token. | no | ${{ github.token }} |
| schedule-url | URL (or local file path) of the Node.js release schedule JSON. | no | https://raw.githubusercontent.com/nodejs/Release/refs/heads/main/schedule.json |
| base | Base branch the pull request targets. Defaults to the repository's default branch. | no | "" |
| branch | Working branch the action commits to and opens the PR from. | no | chore/node-version-sync |
| paths | Optional newline- or comma-separated glob overrides for the files to scan. Defaults to workflows, composite actions, .nvmrc and package.json. | no | "" |
| dry-run | When true, compute and log the changes but do not commit, push, or open a PR. | no | false |
| now | Override the current date (YYYY-MM-DD) used to evaluate the schedule. Intended for testing. | no | "" |
Outputs
| name | description |
|---|---|
| changed | 'true' if any Node version changes were made. |
| added | Comma-separated list of Node major versions for which support was added. |
| removed | Comma-separated list of Node major versions for which support was dropped. |
| pr-url | URL of the created or updated pull request (empty if none). |
| pr-number | Number of the created or updated pull request (empty if none). |