-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Upgrade Node 12 to Node 16 #413
Labels
enhancement
New feature or request
Comments
Closed
I think this action is forced to run in Node 16 now and it seems to still work. It would be good to update the action to Node 20 to get rids of all the warnings. |
If anyone is looking for alternative I suggest to use code below - uses: "actions/github-script@v7"
name: "Add PR labels"
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
name: 'LABEL_NAME'
});
if: github.event_name == 'pull_request' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What you want to add
Upgrade Node 12 to Node 16
Why this is needed
Node 12 has been out of support since April 2022
And all of the users receive a warning while running your action.
The text was updated successfully, but these errors were encountered: