Open mickmister opened 2 months ago
@asaadmahmood I'm curious if you would be interested in discussing a design for this? I think this feature has slowly grown in scope, to the point where it may make sense to have a dedicated form instead of having the slash command continue to get more loaded with cryptic options
Currently the subscriptions feature is all in the slash command
/github subscriptions add
, loaded with some unclear options through slash command flags, in particular the flag namedfeatures
.For example:
Description of the feature from the command's help text:
/github subscriptions add owner[/repo] [flags]
- Subscribe the current channel to receive notifications about opened pull requests and issues for an organization or repositoryflags
currently supported:--features
- a comma-delimited list of one or more of the following:issues
- includes new and closed issuespulls
- includes new and closed pull requestspulls_merged
- includes merged pull requests onlypulls_created
- includes new pull requests onlypushes
- includes pushescreates
- includes branch and tag creationsdeletes
- includes branch and tag deletionsissue_comments
- includes new issue commentsissue_creations
- includes new issues onlypull_reviews
- includes pull request reviewslabel:<labelname>
- limit pull request and issue events to only this label. Must includepulls
orissues
in feature list when using a label.pulls,issues,creates,deletes
--exclude-org-member
- events triggered by organization members will not be delivered (the GitHub organization config should be set, otherwise this flag has not effect)--render-style
- notifications will be delivered in the specified style (for example, the body of a pull request will not be displayed). Supported values arecollapsed
,skip-body
ordefault
(same as omitting the flag).