Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

fix(ci): properly account for ci-skip condition in jobs that specify IF condition (#63785)

Nicolò Maria Mezzopera0014bbc775a7
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 7363c770ca6..7703e2ecf3f 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -74,7 +74,7 @@ jobs:
secrets: inherit
backend-tests:
- if: ${{ !cancelled() }}
+ if: ${{ !cancelled() && needs.files-changed.result == 'success' }}
needs: [files-changed, static-viz-files-changed]
uses: ./.github/workflows/backend.yml
secrets: inherit
@@ -112,7 +112,7 @@ jobs:
e2e-tests:
needs: [files-changed, uberjar]
- if: always() && !cancelled()
+ if: always() && !cancelled() && needs.files-changed.result == 'success'
uses: ./.github/workflows/e2e-tests.yml
secrets: inherit
with: