Skip to content

Commit f0b69c4

Browse files
authored
Create Merged.yaml for MM channel
1 parent d73d0ed commit f0b69c4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/merged.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)