diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml index b7c4a45c..c3db702e 100644 --- a/.github/workflows/discord.yml +++ b/.github/workflows/discord.yml @@ -7,7 +7,8 @@ on: jobs: notify: - # if: ${{ github.event.workflow_run.conclusion == 'failure' }} + # 'skipped' means the `if: ` condition wasn't fulfilled + if: ${{ github.event.workflow_run.conclusion != 'skipped' }} runs-on: ubuntu-latest steps: - name: Push the notification using Discord webhook