From 91b81f0d2361120885d741029ba539f3f9547526 Mon Sep 17 00:00:00 2001 From: aya Date: Wed, 25 Dec 2024 18:14:12 +0200 Subject: [PATCH] Fix command syntax error --- .github/workflows/test_common.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 1f81dcce..cee69f41 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -142,10 +142,10 @@ jobs: echo EOF } >> $GITHUB_ENV - - name: Send report to Discord - uses: rjstone/discord-webhook-notify@v1 - if: always() && env.CALLER != 'manual' - with: + - name: Send report to Discord + uses: rjstone/discord-webhook-notify@v1 + if: always() && env.CALLER != 'manual' + with: severity: ${{ job.status == 'success' && 'info' || 'error' }} username: ${{ github.workflow }} description: "## Job Result: ${{ job.status }}"