Merge pull request #76 from XLabsProject/discord-notify

Create discord-notify.yml
This commit is contained in:
Dss0 2021-05-10 00:33:33 +02:00 committed by GitHub
commit 242a6a71f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/discord-notify.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Notify Discord
on:
push:
branches:
- "*"
issues:
jobs:
notify:
runs-on: ubuntu-latest
if: github.repository_owner == 'XLabsProject'
steps:
- name: Send notification to Discord
uses: Ilshidur/action-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_CI_BOT_WEBHOOK }}