-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION
only works at workflow (not job/step) level
#3370
Comments
If it helps, I suspect this is the related code: runner/src/Runner.Worker/JobRunner.cs Lines 293 to 297 in 70746ff
|
We are getting the same issues as of yesterday, it seems to be effecting a lot of people since yesterday. Just a couple I stumbled upon: |
If you do not want to update ALL the steps and workflow yamls you can add an env var on the runner. I did the following
Note: Ref the github actions doc here: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners#using-a-env-file-to-set-the-proxy-configuration |
Given that SirSaunders has proposed a way to add the envVar onto the runner, I am going to close this for now. It would be great if we could make this more granular but right now this isn't a priority for us :( |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
node20
but works onnode16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
at thejobs.<job_id>.steps[*].env
step 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.0
OS of the machine running the runner?
Linux
What's not working?
Seeing step output mentioning
Node.js v20.13.1
when settingACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION
at thejobs.<job_id>.steps[*].env
step level....until I set
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION
at theenv
workflow level.The text was updated successfully, but these errors were encountered: