Skip to content

Commit

Permalink
[MM-356]: Updated the readme for Github with added support for workfl…
Browse files Browse the repository at this point in the history
…ow subscription (#7310)

Co-authored-by: raghavaggarwal2308 <[email protected]>
Co-authored-by: Carrie Warner (Mattermost) <[email protected]>
  • Loading branch information
3 people authored Nov 14, 2024
1 parent 8ce90be commit eacacde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/integrate/github-interoperability.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ A Mattermost system admin must perform the following steps in GitHub. Create a w
- Pull request review comments
- Pushes
- Stars
- Releases
- Workflows

6. Select **Add Webhook** to save your changes.

Expand Down Expand Up @@ -137,7 +137,7 @@ Run the ``/github subscriptions add`` slash command to subscribe a Mattermost ch

For example, to post notifications for issues, issue comments, and pull requests matching the label **Help Wanted** from the ``mattermost/mattermost-server`` GitHub repository, use: ``/github subscriptions add mattermost/mattermost-server --features issues,pulls,issue_comments,label:"Help Wanted"``. The following flags are supported:

- ``--features``: A comma-delimited list of one or more of: issues, pulls, pulls_merged, pulls_created, pushes, creates, deletes, issue_creations, issue_comments, pull_reviews, releases, label:"labelname". Defaults to ``pulls,issues,creates,deletes``.
- ``--features``: A comma-delimited list of one or more of: issues, pulls, pulls_merged, pulls_created, pushes, creates, deletes, issue_creations, issue_comments, pull_reviews, releases, workflow_success, workflow_failure, label:"labelname". Defaults to ``pulls,issues,creates,deletes``.
- ``--exclude-org-member``: The events triggered by organization members that won't be delivered. It will be locked to the organization configured and only works for users whose membership is public. Organization members and collaborators are not the same.
- ``--render-style``: Notifications are delivered in the specified style (for example, the body of a pull request will not be displayed). Supported values are ``collapsed``, ``skip-body``, or ``default`` (which is the same as omitting the flag).
- ``--exclude``: A comma-separated list of the repositories to exclude from getting the subscription notifications like ``mattermost/mattermost-server``. Only supported for subscriptions to an organization.
Expand Down

0 comments on commit eacacde

Please sign in to comment.