We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d73d0ed commit f0b69c4Copy full SHA for f0b69c4
.github/workflows/merged.yaml
@@ -0,0 +1,20 @@
1
+name: Merge Event
2
+
3
+on:
4
+ pull_request_target:
5
+ types:
6
+ - closed
7
8
+jobs:
9
+ if_merged:
10
+ if: github.event.pull_request.merged == true
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: mattermost/action-mattermost-notify@master
14
+ with:
15
+ MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_MERGE_WEBHOOK }}
16
+ TEXT: >
17
+ [${{ github.repository }}] |
18
+ [${{ github.event.pull_request.title }}
19
+ #${{ github.event.number }}](https://github.com/${{ github.repository }}/pull/${{ github.event.number }})
20
+ was merged into main by ${{ github.actor }}
0 commit comments