diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ef49885..f9a977b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -29,7 +29,7 @@ jobs: simple-build-test: runs-on: ubuntu-latest needs: check-commit-against-solution-branch - if: ((needs.check-commit-against-solution-branch.result == 'success') || (needs.check-commit-against-solution-branch.result == 'skipped')) && (github.repository == 'RedHat-Middleware-Workshops/spring-jkube-external-config') + if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && (github.repository == 'RedHat-Middleware-Workshops/spring-jkube-external-config') strategy: fail-fast: false matrix: