diff --git a/.github/workflows/discord-github-notify.yml b/.github/workflows/discord-github-notify.yml new file mode 100644 index 0000000..f698692 --- /dev/null +++ b/.github/workflows/discord-github-notify.yml @@ -0,0 +1,23 @@ +name: Discord Notification + +on: + release: + types: [published] + push: + branches: ['**'] + pull_request: + types: [opened, closed] + +jobs: + discord-notify: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 2 + + - name: Discord Notification + uses: Time-Machine-Lab/TML-Github_Actions/actions/discord-github-notify@main + with: + webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }} \ No newline at end of file