diff options
author | 2022-01-10 19:37:30 +0000 | |
---|---|---|
committer | 2022-01-10 19:41:05 +0000 | |
commit | 34be3ab1bee63b4d4ae5a3d044801d86bf9305ce (patch) | |
tree | e941fb86fa70ca27d0993ea8fbd02f825df26356 | |
parent | Update lint flow to cache and use pre-commit config (diff) |
Add missing if statement to status embed workflow
-rw-r--r-- | .github/workflows/status_embed.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/status_embed.yaml b/.github/workflows/status_embed.yaml index 19b492f..f327865 100644 --- a/.github/workflows/status_embed.yaml +++ b/.github/workflows/status_embed.yaml @@ -17,11 +17,12 @@ jobs: # - Always after the `Lint` workflow, as it runs at the end of our workflow sequence regardless of status. # - Always for the `pull_request` event, as it only runs one workflow. # - Always run for non-success workflows, as they terminate the workflow sequence. + if: >- (github.event.workflow_run.name == 'Lint' && github.event.workflow_run.conclusion != 'skipped') || github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'cancelled' - name: Send Status Embed to Discord + name: Send Status Embed to Discord runs-on: ubuntu-latest steps: |