Describe the bug
To Reproduce
Steps to reproduce the behavior:
- Use an action that fails on
node20 but works on node16 - Set the
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true at the jobs.<job_id>.steps[*].env step level - Run workflow
Expected behavior
While the blog post on the matter says:
To opt out of this and continue using Node16 while it is still available in the runner, you can choose to set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true as an ‘env’ in their workflow or as an environment variable on your runner machine.
...it would make a lot more sense to just pick the older node version for just the steps (actions) that actually require it, so one can run this compatibility mode only for those single actions that actually require it (and keep it clear to maintainers and not obscure any other actions in the same workflow that may be added at a later time but also still require an upgrade).
Runner Version and Platform
Version of your runner? 2.317.0
OS of the machine running the runner? Linux
What's not working?
Seeing step output mentioning Node.js v20.13.1 when setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION at the jobs.<job_id>.steps[*].env step level.
...until I set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION at the env workflow level.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
node20but works onnode16ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: trueat thejobs.<job_id>.steps[*].envstep levelExpected behavior
While the blog post on the matter says:
...it would make a lot more sense to just pick the older node version for just the steps (actions) that actually require it, so one can run this compatibility mode only for those single actions that actually require it (and keep it clear to maintainers and not obscure any other actions in the same workflow that may be added at a later time but also still require an upgrade).
Runner Version and Platform
Version of your runner?
2.317.0OS of the machine running the runner?
LinuxWhat's not working?
Seeing step output mentioning
Node.js v20.13.1when settingACTIONS_ALLOW_USE_UNSECURE_NODE_VERSIONat thejobs.<job_id>.steps[*].envstep level....until I set
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSIONat theenvworkflow level.