Skip to content

ci: node 24 actions and workflow hardening - #10

Merged
ninedter merged 1 commit into
mainfrom
ci/workflow-node24-hardening
Jun 12, 2026
Merged

ci: node 24 actions and workflow hardening#10
ninedter merged 1 commit into
mainfrom
ci/workflow-node24-hardening

Conversation

@ninedter

Copy link
Copy Markdown
Owner

Summary

Follow-up to #9. The very first CI run annotated that actions/checkout@v4 and actions/setup-python@v5 are Node 20 actions β€” GitHub forces Node 24 on 2026-06-16 (four days out) and removes Node 20 from runners 2026-09-16. This bumps both to their Node 24 majors and applies the two one-line hardening items from the pre-merge review:

  • actions/checkout@v5 + actions/setup-python@v6 (Node 24-ready)
  • persist-credentials: false β€” no later step needs git credentials, so the token doesn't sit in .git/config while pip build hooks and the test suite execute
  • concurrency group with cancel-in-progress β€” superseded runs on the same ref get cancelled instead of burning runner minutes

No build/test step changes: triggers, commands, and order still match the CLAUDE.md CI/CD section exactly.

Test plan

  • YAML validated locally
  • This PR's own pull_request run exercises the bumped actions end-to-end (checkout, python 3.11 + pip cache, full suite + ruff)

The very first run annotated that actions/checkout@v4 and
actions/setup-python@v5 are node 20 actions: github forces node 24 on
2026-06-16 and removes node 20 from runners 2026-09-16. Bump to the
node 24 majors (checkout@v5, setup-python@v6) before the four-day fuse
burns down.

Plus the two one-line hardening items from review:
- persist-credentials: false β€” no later step needs git credentials, so
  don't leave the token in .git/config while pip build hooks and the
  test suite execute
- concurrency group with cancel-in-progress β€” superseded runs on the
  same ref are cancelled instead of burning runner minutes

No build/test step changes: triggers, commands, and order still match
the CLAUDE.md CI/CD section exactly.
@ninedter
ninedter merged commit 4c57234 into main Jun 12, 2026
1 check passed
@ninedter
ninedter deleted the ci/workflow-node24-hardening branch June 12, 2026 04:25
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