From 877d7f48075bf5fae3f5e31b660e0d050c81515a Mon Sep 17 00:00:00 2001 From: Thomas Bonnet Date: Wed, 24 Jan 2024 02:42:39 +0100 Subject: [PATCH] GitHub Action: Edit Discord Webhook notification (@mrrobotdotapp handler changed) --- .github/workflows/discord_notifications.yml | 22 ++++++++++----------- 1 file changed, 10 insertions(+), 12 deletions(-) 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 }}