From f4e3a1f036f14135576b726cf9e08b9927707cf4 Mon Sep 17 00:00:00 2001 From: Adam Talbot <12817534+adamrtalbot@users.noreply.github.com> Date: Mon, 19 Feb 2024 09:54:39 +0000 Subject: [PATCH] confirm-pass will pass if no tests are triggered --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5697b76a..86c6b5bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,7 +165,7 @@ jobs: if: always() steps: - name: All tests ok - if: ${{ success() || !contains(needs.*.result, 'failure') }} + if: ${{ !contains(needs.*.result, 'failure') }} run: exit 0 - name: One or more tests failed if: ${{ contains(needs.*.result, 'failure') }}