aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/status_embed.yaml3
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: