From f1803acd37249fd60f0f786ed4e5c14835f98845 Mon Sep 17 00:00:00 2001 From: Mateusz Urbanek Date: Sun, 6 Oct 2024 20:48:09 +0200 Subject: [PATCH] ci: too much noise Signed-off-by: Mateusz Urbanek --- .github/workflows/tofu.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tofu.yaml b/.github/workflows/tofu.yaml index ad1d03e..b416f27 100644 --- a/.github/workflows/tofu.yaml +++ b/.github/workflows/tofu.yaml @@ -33,17 +33,17 @@ jobs: if: success() with: severity: info - details: "[ ${{ github.event.org.login }}/${{ github.event.repository.name }}] Apply succesfull @ ${{ github.head_commit.id }}" + details: "Success" webhookUrl: ${{ env.DISCORD_WEBHOOK }} - uses: rjstone/discord-webhook-notify@v1 if: failure() with: severity: error - details: "[ ${{ github.event.org.login }}/${{ github.event.repository.name }}] Apply failed @ ${{ github.head_commit.id }}" + details: "Failure" webhookUrl: ${{ env.DISCORD_WEBHOOK }} - uses: rjstone/discord-webhook-notify@v1 if: cancelled() with: severity: warn - details: "[ ${{ github.event.org.login }}/${{ github.event.repository.name }}] Apply cancelled @ ${{ github.head_commit.id }}" + details: "Cancelled" webhookUrl: ${{ env.DISCORD_WEBHOOK }}