From b8454b0b3fbcc2bee499936462cb2ae9cdff2047 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Tue, 6 Jan 2026 16:40:50 +0100 Subject: [PATCH] Revert "temporarily disable discord notifications" This reverts commit 7d78fda879262e11defae758e8111a193199e053. --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/integration-tests.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4f8d7592..d8c099873 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,9 +106,9 @@ jobs: - name: Run Playwright tests run: npm run test:ui - # - name: Notify Discord - # if: failure() && github.ref == 'refs/heads/main' - # uses: discord-actions/message@v2 - # with: - # webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }} - # message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.' + - name: Notify Discord + if: failure() && github.ref == 'refs/heads/main' + uses: discord-actions/message@v2 + with: + webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }} + message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.' diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 647fbabff..e36f5b3ab 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -109,9 +109,9 @@ jobs: env: GITHUB_WORKSPACE: ${{ github.workspace }} - # - name: Notify Discord - # if: failure() && github.ref == 'refs/heads/main' - # uses: discord-actions/message@v2 - # with: - # webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }} - # message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.' + - name: Notify Discord + if: failure() && github.ref == 'refs/heads/main' + uses: discord-actions/message@v2 + with: + webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }} + message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'