Skip to content

Upgrade release workflow to actions/checkout v7#767

Merged
1 commit merged into
dataelement:mainfrom
Y1fe1Zh0u:fix/actions-checkout-node24
Jul 23, 2026
Merged

Upgrade release workflow to actions/checkout v7#767
1 commit merged into
dataelement:mainfrom
Y1fe1Zh0u:fix/actions-checkout-node24

Conversation

@Y1fe1Zh0u

Copy link
Copy Markdown
Collaborator

Summary

  • upgrade both release workflow checkout steps from actions/checkout@v4 to actions/checkout@v7
  • keep the Clawith project Node.js configuration and release behavior unchanged

Why

actions/checkout@v4 targets the deprecated Node.js 20 action runtime, so GitHub-hosted runners emit a warning while forcing it onto Node.js 24. Checkout v7 declares the supported Node.js 24 runtime and is the current stable major recommended by GitHub.

The v7 fork-checkout safeguard applies to pull_request_target and workflow_run; this workflow uses workflow_dispatch and pull_request: closed, so its current triggers are unaffected.

Impact

The release workflow no longer relies on the deprecated Node.js 20 checkout runtime. This does not change the Node.js version used by Clawith itself.

Validation

  • parsed .github/workflows/release.yml and asserted both checkout steps use v7
  • scanned the repository and confirmed no older actions/checkout reference remains
  • ran git diff --check

The live Release workflow was not triggered because it can create release branches, pull requests, tags, and releases.

GitHub-hosted runners now force Node 20 actions onto Node 24. Upgrade both release jobs to checkout v7 while leaving the Clawith project Node configuration unchanged.

Constraint: The release workflow creates branches, pull requests, tags, and releases when run live.
Rejected: actions/checkout@v6 | v7 is the current GitHub-recommended stable major.
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: This changes only the checkout action runtime; do not couple it to the project Node version.
Tested: YAML parse and job assertions, repository-wide checkout reference scan, git diff --check.
Not-tested: Live release workflow because it has release side effects.
Y1fe1Zh0u added a commit that referenced this pull request Jul 22, 2026
The integration branch needs this pull request alongside the other v1.11.2 candidates without changing the original PR state.

Constraint: Preserve the source PR commit and merge in numeric order.
Confidence: high
Scope-risk: moderate
Related: #767
Tested: Git merge completed without unresolved conflicts
Not-tested: Combined backend and frontend suites pending
@Y1fe1Zh0u Y1fe1Zh0u closed this pull request by merging all changes into dataelement:main in 40c1f6b Jul 23, 2026
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