ravsamhq / notify-slack-action

🔔 Send a Slack Notification from Github Actions regarding failure, warnings, or even success.
https://ravsam.in/blog/send-slack-notification-when-github-actions-fails/
MIT License
173 stars 57 forks source link

Use node v20 instead of v16 #124

Closed ravgeetdhillon closed 10 months ago

ravgeetdhillon commented 10 months ago

Related Issues:

fede843 commented 9 months ago

Hi, I am still getting

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ravsamhq/notify-slack-action@2.4.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Am I using it wrong?

alexatkoverse commented 9 months ago

ravgeetdhillon Please understand that your action is using node 16 and using it in GH prouces now this warning

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

It is kind of annoying to see it every time.

In order to repro it, please run your action in GH to see it yourself.

That merge didn't fix the action run itself -- looks like only your own test runs.

There are already mentioned in the latest open PR what will fix it. Please merge it when you get a chance.

Thanks