Skip to content

Commit 7243bcf

Browse files
authored
Merge pull request #832 from certbot/assign-notify
[TOOLING] Add automation for when a PR or Issue is assigned
2 parents 354a5e1 + 8fc1216 commit 7243bcf

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_target:
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)