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

mac runner not able to parse workflow_url #74

Closed renperez closed 2 years ago

renperez commented 2 years ago

workflow url is not working for some reason.

"Github Action <{workflow_url}|{workflow}> workflow has {status_message}"

this is the message i get from slack: Github Action <|Smoke Test> workflow has passed

ravsam-bot[bot] commented 2 years ago

Hello and welcome to RavSam :purple_heart:. Thanks for opening your first issue. I will assign one of our team members to take a look at the problem you have raised. Make sure to include as much information as possible to help our team diagnose the issue and solve it quickly.

If the problem is related to a security concern, then please delete this issue and send us an email at info@ravsam.in.

ravgeetdhillon commented 2 years ago

@renperez In the README, it is mentioned:

In order to use {workflow_url}, specify the token input as token: ${{ secrets.GITHUB_TOKEN }}.

So, make sure you have setup the action correctly. Let me know if this works for you.

renperez commented 2 years ago

@ravgeetdhillon thank you. yeah looks like the token i was using was the culprit. closing this :)