Skip to content

chore: Update actions to use Node24#6523

Draft
moduli wants to merge 1 commit intomainfrom
moduli-github-node24
Draft

chore: Update actions to use Node24#6523
moduli wants to merge 1 commit intomainfrom
moduli-github-node24

Conversation

@moduli
Copy link
Copy Markdown
Collaborator

@moduli moduli commented Mar 20, 2026

Description

This PR updates github action workflows to mitigate Node20 deprecation warnings.

Here's one example of a warning

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/upload-artifact@330a01c. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

https://hashicorp.atlassian.net/browse/ICU-18777

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've documented the impact of any changes to security controls.
    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@moduli moduli force-pushed the moduli-github-node24 branch from 91a9b62 to 38909e8 Compare March 20, 2026 16:26
@moduli
Copy link
Copy Markdown
Collaborator Author

moduli commented Mar 20, 2026

Waiting on updates on the following actions

  • hashicorp/actions-go-build (UPDATED)
  • hashicorp/actions-set-product-version (UPDATED)
  • hashicorp/actions-generate-metadata (NO UPDATES NEEDED)
  • hashicorp/actions-packaging-linux (NO UPDATES NEEDED)
  • hashicorp/actions-docker-build (UPDATED)
  • hashicorp/vault-action

@moduli moduli force-pushed the moduli-github-node24 branch from 38909e8 to 74bb89a Compare March 20, 2026 18:04
# Conflicts:
#	.github/workflows/enos-run.yml
@moduli moduli force-pushed the moduli-github-node24 branch from 74bb89a to 02bd833 Compare May 7, 2026 13:51
@moduli moduli added pr/no-milestone Ignores the Milestone Check backport/0.19.x Backport changes to `release/0.19.x` backport/0.20.x Backports changes to release/0.20.x backport/0.21.x labels May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/0.19.x Backport changes to `release/0.19.x` backport/0.20.x Backports changes to release/0.20.x backport/0.21.x pr/no-milestone Ignores the Milestone Check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant