chore(ci): clear Node 20 deprecation warnings across shared workflows#142
Conversation
GitHub is forcing Node 20 actions to run on Node 24 and logs a warning
on every run. Bump the actions that have Node 24 native versions and
add setup-helm/setup-kubectl tokens to eliminate the noisy fallback
warning about GITHUB_TOKEN not being set.
Bumps
aws-actions/configure-aws-credentials v4 -> v5 (helm-deploy-eks)
azure/setup-helm v3 -> v4 (4x helm-* workflows)
Azure/setup-kubectl v3 -> v4 (4x helm-* workflows)
actions/setup-node v4 -> v5 (2x openapi-generate)
mathieudutour/github-tag-action v6.1 -> v6.2 (2x build-php-*)
Token wiring
Add `token: ${{ github.token }}` to every azure/setup-helm and
Azure/setup-kubectl invocation. Without it, both actions try to
fetch the latest tool version via GitHub API, fail auth, and log
a scary '::warning::[@octokit/auth-action] GITHUB_TOKEN not set'
message on every deploy. Cosmetic today (deploys still succeed
with a hard-coded default version) but eliminates the noise.
Deferred to follow-up
actions/upload-artifact@v4 -> v5 has a breaking change
(duplicate name now errors instead of warns) so it needs a per-
usage review before bumping.
docker/setup-buildx-action@v3, docker/login-action@v3,
docker/build-push-action@v6 have no Node 24 upstream release yet.
Spotted (not fixed here — worth a separate ticket)
helm-rollback.yaml:31 references ${{ inputs.image_tag }} in the
checkout ref, but the workflow's inputs are
{deployment, environment, namespace} — this fails silently by
falling through to the default ref. Pre-existing; noise-only in
actionlint until someone tries to use it.
Refs DEVEX-1683 (this cleanup), DEVEX-1653 (RT v2 downstream), DEVEX-1680.
PR SummaryMedium Risk Overview Action version bumps: New No application or deploy script logic changes—only third-party action pins and optional auth for tool version resolution. Reviewed by Cursor Bugbot for commit 45a4499. Bugbot is set up for automated code reviews on this repo. Configure here. |
Summary
GitHub is forcing Node 20 actions to run on Node 24 and logs a warning on every workflow run:
```
##[warning]Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ...
```
This PR bumps the actions that have Node 24 native versions and wires `token:` on `azure/setup-helm` / `Azure/setup-kubectl` to also eliminate the noisy `GITHUB_TOKEN not set` warning from every rt-* auto-deploy log.
Bumps
Token wiring
Add `token: ${{ github.token }}` to every `azure/setup-helm` and `Azure/setup-kubectl` invocation. Without it, both actions try to fetch the latest tool version via GitHub API, fail auth, and log a `::warning::[@octokit/auth-action] GITHUB_TOKEN not set` message. Deploys succeed with a hard-coded fallback version — cosmetic, but eliminates the noise.
Deferred to follow-up
Spotted (not fixed here — worth a separate ticket)
Verification
Blast radius
Every RT v2 participant that runs helm-* deploys OR build-php-* orchestrators inherits these versions on next call. That's ~22 repos. Downstream failure would be visible immediately on the next deploy run.
Related