8000 ci: bump checkout/setup-node to v5 + read-only token by aaronjmars · Pull Request #77 · aeonfun/minitor · GitHub
[go: up one dir, main page]

Skip to content

ci: bump checkout/setup-node to v5 + read-only token - #77

Merged
aaronjmars merged 1 commit into
mainfrom
ci/bump-actions-v5
Jun 18, 2026
Merged

aaronjmars merged 1 commit into
mainfrom
ci/bump-actions-v5

Conversation

@aaronjmars
Copy link
Copy Markdown
Collaborator

Follow-up to #76 (the CI build workflow).

What

  • Bump actions/checkout@v4 → @v5 and actions/setup-node@v4 → @v5.
  • Add a least-privilege top-level permissions: contents: read block.

Why

The @v4 actions now emit GitHub's runner warning "Node.js 20 is deprecated… forced to run on Node.js 24". Bumping to @v5 clears it. This is the action runtime only — the build target (node-version: 20) is unchanged.

The build only needs checkout, so a read-only token is sufficient; scoping permissions down is best-practice hardening.

Risk

Minimal — no behavior change to the build itself; CI re-running on this PR confirms it stays green.

🤖 Generated with Claude Code

actions/checkout@v4 and actions/setup-node@v4 now emit GitHub's
"Node.js 20 is deprecated, forced to run on Node.js 24" runner warning.
Bump both to @v5 to clear it (build target node-version: 20 is unchanged).

Also add a least-privilege top-level permissions: contents: read block —
the build only needs checkout, no write scopes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aaronjmars
aaronjmars merged commit 3565359 into main Jun 18, 2026
2 checks passed
@aaronjmars
aaronjmars deleted the ci/bump-actions-v5 branch June 18, 2026 13:27
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

0