action-add-labels
action-add-labels copied to clipboard
Upgrade the runner to use Nodejs 16
What you want to add
Upgrade runner to use Nodejs 16.
Why this is needed
Because the Nodejs 14 runner will get deprecated soon.
I already created PR for that https://github.com/actions-ecosystem/action-add-labels/pull/456
Bump.
Sure would be nice if this were merged.
Hey any update on the node 16 bump? I noticed the PR mentioned above has been closed and never merged! Cheers
Re: updates on the node 16 bump? @ricardodantas.
Same here just now.
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-ecosystem/[email protected]. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
is this action still maintained? this will start failing on June 1st
I just replaced the action with the below code
uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.payload.pull_request.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['label']
})
@micnncim I see your "busy" tag, but please take action on this. My workflows are 2 day from doom, and I need time to change versions after you release v2 or other next tag
This repo is probably abandoned so easier to just use gh
cli tool (available system wide on runners) to edit labels in PR like this:
- name: Set label on PR
run: gh issue edit PR_NUMBER --add-label label-to-add
After all not everything needs to be an action.
[!NOTE] Yeah it needs to be
issue
and notpr
because somehow pr needs additional scopes to github token to work