integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
3.07k stars 482 forks source link

Ability to filter out or redirect to another channel commits made by certain users #1753

Open archon810 opened 1 year ago

archon810 commented 1 year ago

Is your feature request related to a problem? Please describe. We have an auto merge bot that merges master into PRs as well as master into dev, and I absolutely love that we don't have to do all this manual work anymore. However, especially when the amount of open PRs grows to over a dozen, every push to master creates dozens of merge commit messages, all authored by github-actions[bot] user. This is very messy and drowns out all conversations in the room.

For example (the actual list of merges is much longer, this is just the top): image

Describe the solution you'd like

  1. The ability to filter out commits by certain users to avoid spam.
  2. Even better, the ability to redirect commits by certain users to another channel.

Describe alternatives you've considered I haven't been able to figure out a solution here. Currently, we're subscribed to the whole org (which includes existing and future repos) like this:

/github subscribe OUR_ORG commits:"*" branches comments reviews discussions

If I remove commits:"*", we will stop seeing commits by all other users as well.

Any ideas, or maybe this could be implemented if it's not yet supported?

archon810 commented 1 year ago

Related: https://github.com/integrations/slack/issues/878#issuecomment-522167879.