Skip to content

Add ability to enforce actions to run on node20#3192

Merged
takost merged 5 commits intomainfrom
takost/enforce-node-20
Mar 14, 2024
Merged

Add ability to enforce actions to run on node20#3192
takost merged 5 commits intomainfrom
takost/enforce-node-20

Conversation

@takost
Copy link
Copy Markdown
Contributor

@takost takost commented Mar 7, 2024

Add two ways to enforce actions execute on node20:

  1. Add FF DistributedTask.ForceGithubJavascriptActionsToNode20 for Actions Service side. When this FF will be turned on it will make all javascript actions run on node20. In this case we will show warning, that actions was enforced:
image This enforcement can be opted-out by setting `ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION` env var to `true`
  1. Add env variable FORCE_JAVASCRIPT_ACTIONS_TO_NODE20 so customers can try to enforce actions execution on node20. They can try to set this var on workflow level or as local environment variable.

@takost takost requested a review from a team as a code owner March 7, 2024 20:33
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.

3 participants