diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 74a55c189..48003858f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -114,7 +114,7 @@ jobs: - re-run # Returns true when any previous step of a job fails. If you have a chain of dependent # jobs, failure() returns true if any ancestor job fails. - if: failure() && needs.re-run.result == 'skipped' + if: failure() && (needs.re-run.result == 'skipped' || needs.re-run.result == 'failure') uses: "./.github/workflows/notify_nightly.yml" permissions: {} secrets: