From d903613943b17e6c39d5a2e59061bec626567001 Mon Sep 17 00:00:00 2001 From: Andrei Pavlov Date: Wed, 18 Sep 2024 10:30:41 +0700 Subject: [PATCH] Skip cleanup job when e2e tests are skipped Signed-off-by: Andrei Pavlov --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b81fad71d..83e6d2647 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,7 +88,7 @@ jobs: name: Cleanup needs: e2etest runs-on: ubuntu-latest - if: ${{ always() }} + if: ${{ always() && !contains(needs.*.result, 'skipped') }} timeout-minutes: 15 steps: - name: Checkout repository