diff options
-rw-r--r-- | .github/workflows/status_embed.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/status_embed.yaml b/.github/workflows/status_embed.yaml index c8502a19..28caa8c2 100644 --- a/.github/workflows/status_embed.yaml +++ b/.github/workflows/status_embed.yaml @@ -18,9 +18,10 @@ jobs: # - Always run for non-success workflows, as they # terminate the workflow sequence. if: >- - github.event.workflow_run.name == 'Build' || + (github.event.workflow_run.name == 'Build' && github.event.workflow_run.conclusion != 'skipped') || github.event.workflow_run.event == 'pull_request' || - github.event.workflow_run.conclusion != 'success' + github.event.workflow_run.conclusion == 'failure' || + github.event.workflow_run.conclusion == 'cancelled' name: Send Status Embed to Discord runs-on: ubuntu-latest |