Browse Source

chore(git-action): Discord notification

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
pull/341/head
Pranav C 4 years ago
parent
commit
5082e7fcfe
  1. 18
      .github/workflows/issue-closed.yml

18
.github/workflows/issue-closed.yml

@ -0,0 +1,18 @@
name: Issue closed notification
on:
issues:
types: [closed]
jobs:
notify:
name: 'Discord'
runs-on: ubuntu-latest
steps:
- name: Discord notify
uses: rjstone/discord-webhook-notify@v1
with:
severity: info
details: 'Closed : ${{ github.event.issue.title }}(#${{ github.event.issue.number }}) : ${{ github.event.issue.url }}'
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
Loading…
Cancel
Save