From 1d7dc3c7d1e72962587d4b727a3e9ec4b4632001 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 30 Jul 2024 14:37:15 +0200 Subject: [PATCH] ci: Fix summary condition Signed-off-by: Joas Schilling --- .github/workflows/files-external-s3.yml | 2 +- .github/workflows/node-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/files-external-s3.yml b/.github/workflows/files-external-s3.yml index db872cab602ab..bb9292b156f42 100644 --- a/.github/workflows/files-external-s3.yml +++ b/.github/workflows/files-external-s3.yml @@ -182,4 +182,4 @@ jobs: steps: - name: Summary status - run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-s3-minio.result != 'success' && needs.files-external-s3-localstack.result != 'success' }}; then exit 1; fi + run: if ${{ needs.changes.outputs.src != 'false' && (needs.files-external-s3-minio.result != 'success' || needs.files-external-s3-localstack.result != 'success') }}; then exit 1; fi diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index 0c3c7437fd2c2..125b858576b52 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -166,4 +166,4 @@ jobs: steps: - name: Summary status - run: if ${{ needs.changes.outputs.src != 'false' && needs.test.result != 'success' && needs.jsunit.result != 'success' && needs.handlebars.result != 'success' }}; then exit 1; fi + run: if ${{ needs.changes.outputs.src != 'false' && (needs.test.result != 'success' || needs.jsunit.result != 'success' || needs.handlebars.result != 'success') }}; then exit 1; fi