From 8d6d6ff689dad8234cf8be26ad119bea69752570 Mon Sep 17 00:00:00 2001 From: William Shelley Date: Thu, 16 Jan 2025 13:39:26 +0000 Subject: [PATCH] fix: allow security-docker to fail --- .github/workflows/ci.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 49ac2f3ae6..85420ee251 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,6 @@ jobs: security-docker: name: Security uses: ./.github/workflows/security-docker.yaml - continue-on-error: true permissions: contents: read security-events: write @@ -229,13 +228,27 @@ jobs: docker: name: Docker - if: ${{ always() && !cancelled() && !failure() && needs.orchestrator.outputs.should-build-docker }} + if: > + always() && + !cancelled() && + needs.orchestrator.outputs.should-build-docker && + needs.security-app.result != 'failure' && + needs.security-terraform.result != 'failure' && + needs.orchestrator.result != 'failure' && + needs.docs.result != 'failure' && + needs.cdn.result != 'failure' && + needs.app.result != 'failure' && + needs.get-version.result != 'failure' concurrency: group: docker-${{ matrix.project }}-${{ needs.get-version.outputs[matrix.project] }} needs: + - security-app + - security-terraform - orchestrator - - get-version + - docs + - cdn - app + - get-version strategy: fail-fast: false matrix: