Skip to content

Commit bf914c9

Browse files
committed
Add automation for when a PR or Issue is assigned
1 parent 86669c7 commit bf914c9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/assigned.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Issue Assigned
2+
3+
on:
4+
issues:
5+
types: [assigned]
6+
7+
pull_request:
8+
types: [assigned]
9+
jobs:
10+
send-mattermost-message:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: mattermost/action-mattermost-notify@master
14+
with:
15+
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_ASSIGN_WEBHOOK }}
16+
TEXT: >
17+
${{ github.event.issue.assignee.login || github.event.pull_request.assignee.login }} assigned to "${{ github.event.issue.title || github.event.pull_request.title }}": ${{ github.event.issue.html_url || github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)