Skip to content

chore(ci): update release actions to Node 24 and pin runner - #6034

Open
mcollina wants to merge 1 commit into
nodejs:v6.xfrom
mcollina:ci/fix-release-workflow-warnings-v6
Open

mcollina wants to merge 1 commit into
nodejs:v6.xfrom
mcollina:ci/fix-release-workflow-warnings-v6

Conversation

@mcollina

Copy link
Copy Markdown
Member

Summary

The v6.x release workflows (release.yml, release-create-pr.yml) used actions/checkout@v4, actions/github-script@v7 and actions/setup-node@v4, which target Node.js 20. Node 20 is deprecated on GitHub Actions runners and actions are being migrated to Node 24, producing the warning:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/github-script@v7.

Changes

  • Upgrade the deprecated actions to the latest versions that run on Node 24:
    • actions/checkout@v4 → actions/checkout@v7.0.1
    • actions/github-script@v7 → actions/github-script@v9.0.0
    • actions/setup-node@v4 → actions/setup-node@v7.0.0
  • Pin runs-on: ubuntu-latest → ubuntu-24.04 to avoid relying on the moving ubuntu-latest label (which will migrate to Ubuntu 26 on October 19, 2026).

Verification

  • Action runtimes confirmed to be node24 for checkout v7.0.1, github-script v9.0.0 and setup-node v7.0.0.
  • YAML validated with yaml.safe_load for both workflow files.

The release workflows used actions/checkout@v4, actions/github-script@v7 and
actions/setup-node@v4, which target Node.js 20. Node 20 is deprecated on
GitHub Actions runners (migrating to Node 24). Upgrade to the latest action
versions that run on Node 24 (checkout v7.0.1, github-script v9.0.0,
setup-node v7.0.0) and pin the runner image to ubuntu-24.04 to drop reliance
on the moving ubuntu-latest label.

This branch has not been deployed

No deployments
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.

2 participants