integrations / slack

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

Feature: Subscribe to repository deletions/transfers/archives/publicize at the organization level #1861

Open kaltepeter opened 3 months ago

kaltepeter commented 3 months ago

Is your feature request related to a problem? Please describe. We have a large GitHub organization and the admins are chasing people down to cleanup repositories. When we do this we communicate in a Slack channel. I would like to just subscribe to the organization for repository deletion/transfer/archived events, rather than remembering to message in the channel when done. Another scenario is a repository is accidentally made public.

Describe the solution you'd like /github subscribe owner/repo [feature] would have features included similar to: 'repository-deleted', 'repository-archived', 'repository-transferred', 'repository-publicized'

I am not sure if there is a better way to group features and limit which ones to notify. For example, repository creation would be too noisy for us and be in a different slack channel if available.

GitHub supports many events that would be useful

image

Describe alternatives you've considered Manually creating a webhook, but then I have to handle the payload myself and this integration is the preferred method.

Additional context There is a bigger list of things in the screenshot, I picked the four that I could use today related to cleanup and security events. We also would love an alert on if something was made public, this is a practice we don't have and on occasion someone might accidentally publicize a repository.