From a71cc65735b0e07186999a3e9510a6728ff4ef48 Mon Sep 17 00:00:00 2001 From: xun Date: Sat, 4 Nov 2023 21:32:33 +0800 Subject: [PATCH] Update link.yml --- .github/workflows/link.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link.yml b/.github/workflows/link.yml index 27166f3..5c8f06b 100644 --- a/.github/workflows/link.yml +++ b/.github/workflows/link.yml @@ -46,7 +46,7 @@ jobs: -m "https://github.com/${{ github.repository }}/commit/${{ github.sha }}" - name: Send Fail Message - if: ${{ fail() }} + if: ${{ failure() }} run: | bash ../../scripts/webhook.sh \ -u "https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks/${{ github.run_id }}" \