Skip to content

Commit 651241b

Browse files
committed
fix workflow
1 parent ebe6845 commit 651241b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/verify.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ jobs:
4545

4646
summary:
4747
runs-on: ubuntu-latest
48-
if: ${{ !cancelled() && secrets.WEBHOOK_DISCORD != '' }}
4948
needs: [ verify_and_build ]
49+
if: ${{ always() }}
50+
env:
51+
HAS_WEBHOOK: ${{ secrets.WEBHOOK_DISCORD != '' }}
5052
steps:
5153

5254
- name: Trigger Webhook
55+
if: ${{ env.HAS_WEBHOOK == 'true' }}
5356
uses: CalmDownVal/webhook-summary@v1
5457
with:
5558
token: ${{ github.token }}

0 commit comments

Comments
 (0)