-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Notify user who made commit #72
Comments
Hello and welcome to RavSam 💜. 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. |
Related to #31. |
@niels-bosman @rdhar Do you have any suggestions on how you would like this to be implemented from the end user perspective? What would be the format of the input that you would provide? |
To be honest, I'm not sure that a seamless implementation is possible between Slack user-mentions and GitHub username due to potential mismatch between user handles. That being said, I went through some of the most popular GitHub Action integration for Slack notifications to find a common theme:
Taking this into account, perhaps a new variable can be introduced to use
|
@ravgeetdhillon @rdhar I think it should be easy for users to enable this behaviour. The more complex logic should be dealt with by the package itself. Something like this: steps:
- uses: ravsamhq/notify-slack-action@v2
if: always()
with:
status: ${{ job.status }}
notify_actor: true # The new field
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required |
I am also facing similar issue. I am sending notification to slack channel and I want to mention user who has merged the PR or did the commit. The user is already part of slack channel. |
+1 |
Also would love this enhancement.
The input |
Right now you can notify slack users for when the pipeline fails, would be nice if there was an option to map the GitHub users with the Slack username so only the person committing get's tagged in the message.
The text was updated successfully, but these errors were encountered: