act10ns / slack

Slack messages for GitHub Action workflows, jobs and steps
https://github.com/marketplace/actions/slack-github-actions-slack-integration
MIT License
191 stars 58 forks source link

Github actions has depricated Node 12 support, please upgrade to node 16 #250

Closed fage88 closed 1 year ago

fage88 commented 1 year ago

Is your feature request related to a problem? Please describe. Github action workflows have started outputting messaging around actions that are still Node 12 which fell out of support in April 2022.

image

In this blog post github outlines their plan to deprecate and remove Node 12 support https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Describe the solution you'd like I'd like to see the slack action upgraded to node 16 so these warnings go away

JinoArch commented 1 year ago

+1. I am also facing the same issue. Hope to see this change soon.

molayadev commented 1 year ago

Hi

PR https://github.com/act10ns/slack/pull/251

I created a PR to support node16 hoping to be reviewed and merged soon.

@satterly Check it, possibly it's ready to merge 😁

satterly commented 1 year ago

I have published a new release... https://github.com/act10ns/slack/releases/tag/v2.0.0

Note that as per the recommendation of GitHub (see link above) is it a new Major release so if you currently specify v1 you will now need to modify your Github action to point to v2.

Example

- uses: act10ns/slack@v2
  with: 
    status: ${{ job.status }}
  if: always()