Skip to content
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

action has started failing; Node.js 16 actions are deprecated #239

Closed
houseful-chisel opened this issue Feb 12, 2024 · 0 comments · Fixed by #240
Closed

action has started failing; Node.js 16 actions are deprecated #239

houseful-chisel opened this issue Feb 12, 2024 · 0 comments · Fixed by #240

Comments

@houseful-chisel
Copy link
Contributor

houseful-chisel commented Feb 12, 2024

Runs for this action have started failing with:

Run fuxingloh/multi-labeler@v2

/home/runner/work/_actions/fuxingloh/multi-labeler/v2/webpack:/multi-labeler/lib/main.js:42
    throw new Error('Could not get issue_number from pull_request or issue from context');
^
Error: Could not get issue_number from pull_request or issue from context

and

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: fuxingloh/multi-labeler@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Looking at the action.yml here I can see:

runs:
  using: 'node16'
  main: 'dist/index.js'

Not being a node user, I'm unsure if this can just be updated to node20 and all will be well again.

fuxingloh pushed a commit that referenced this issue Feb 12, 2024
<!--  Thanks for sending a pull request! -->

#### What this PR does / why we need it:

Action fails to run since node16 deprecation

#### Which issue(s) does this PR fixes?:

<!--
(Optional) Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Fixes #239


#### Additional comments?:

I'm testing this change now.

Co-authored-by: Chisel <[email protected]>
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 a pull request may close this issue.

1 participant