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

Is it possible to notify/mention a user dynamically? #31

Closed smetroid closed 2 years ago

smetroid commented 2 years ago

Hello,

Would it be possible to notify/mention a user dynamically? The user who started the job?

Thanks,

-- Enrique

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, please feel free to email us at info@ravsam.in.

ravgeetdhillon commented 2 years ago

Hey @smetroid,

The thing is to notify that user you need their Slack User Id. You need a way to map the ${{ github.actor }} to the valid Slack User Id.

ravgeetdhillon commented 2 years ago

Since this is not related to the action but some external logic, so I'm closing this.