From 5082e7fcfe7d93845574a30ba084c066bbc44314 Mon Sep 17 00:00:00 2001 From: Pranav C <61551451+pranavxc@users.noreply.github.com> Date: Sun, 11 Jul 2021 18:38:55 +0530 Subject: [PATCH] chore(git-action): Discord notification Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com> --- .github/workflows/issue-closed.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/issue-closed.yml diff --git a/.github/workflows/issue-closed.yml b/.github/workflows/issue-closed.yml new file mode 100644 index 0000000000..6fbfc86c49 --- /dev/null +++ b/.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 }} \ No newline at end of file