integrations / slack

Bring your code to the conversations you care about with GitHub's integration for Slack
https://slack.github.com/
MIT License
3.1k stars 488 forks source link

Add optional ability to receive notifications for draft PRs #1494

Open axelson opened 2 years ago

axelson commented 2 years ago

Is your feature request related to a problem? Please describe. Me and my team use the GitHub slack integration and we use draft PRs. We like to stay up to date on what everyone is up to and especially use the ability to translate mentions on GitHub into mentions on Slack. However, there is currently no way to get a slack notification when a draft PR is created.

Describe the solution you'd like I'd like an option to be added (but not enabled by default) that allows subscribing to all PRs in a repository. The command might look something like this: /github subscribe owner/repo pulls:all

Describe alternatives you've considered Creating my own integration that supports this or finding a 3rd party integration.

Additional context There's a related issue for Draft PR comments (https://github.com/integrations/slack/issues/1320), but this issue is specifically for the initial pull request itself

rolandtritsch commented 1 year ago

Just clarifying: What I want/need is to be able to subscribe to a repo and do not get notified/reminded about draft PRs.

From the description above the command for that would be ...

/github subscribe owner/repo pulls

... right?

brandonmcconnell commented 1 year ago

I think the intent is to be able to opt into draft PR notifications, as you currently can't until they are marked ready for review.