fuxingloh/multi-labeler

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

Closed this issue · 0 comments

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.