Skip to content

Commit 204d09c

Browse files
authored
github action notifier
1 parent 007f7e2 commit 204d09c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Issue or PR notifier
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request:
6+
types: [opened]
7+
jobs:
8+
run:
9+
name: Notify IS team of github activity
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Draft with these release notes details
13+
uses: slackapi/slack-github-action@v2.0.0
14+
with:
15+
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
16+
webhook-type: webhook-trigger
17+
payload: |
18+
{
19+
"text": "A new \"${{ github.event_name }}\" has been opened on https://github.com/${{ github.repository }} . Please acknowledge the customer ASAP and :cowboy-ack: this request."
20+
}

0 commit comments

Comments
 (0)