diff --git a/.github/workflows/discord_notifications.yml b/.github/workflows/discord_notifications.yml index 12a4fa0..904cff3 100644 --- a/.github/workflows/discord_notifications.yml +++ b/.github/workflows/discord_notifications.yml @@ -1,16 +1,14 @@ name: Discord Webhook - -on: [push, pull_request] - +on: [push] jobs: - report: + Discord_notification: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Run Discord Webhook - uses: Mist3r-Robot/classic-discord-webhook@main - with: - id: ${{ secrets.DISCORD_WEBHOOK_ID }} - token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} - #in_thread: ${{ secrets.DISCORD_INTHREAD }} + - name: Checkout repository + uses: actions/checkout@v3 + - name: Run Discord Webhook + uses: mrrobotdotapp/classic-discord-webhook@main + with: + id: ${{ secrets.DISCORD_WEBHOOK_ID }} + token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} + threadId: ${{ secrets.DISCORD_WEBHOOK_THREAD_ID }}