Allow notification of two reviewers being assigned to a PR and two issue assignees #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Merge Event | |
| on: | |
| pull_request_target: | |
| types: | |
| - closed | |
| jobs: | |
| if_merged: | |
| if: github.event.pull_request.merged == true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: mattermost/action-mattermost-notify@master | |
| with: | |
| MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_MERGE_WEBHOOK }} | |
| TEXT: > | |
| [${{ github.repository }}] | | |
| [${{ github.event.pull_request.title }} | |
| #${{ github.event.number }}](https://github.com/${{ github.repository }}/pull/${{ github.event.number }}) | |
| was merged into main by ${{ github.actor }} |