From 94a2ff6f2e005eb850d3fbc0ca7ca775908aca8c Mon Sep 17 00:00:00 2001 From: David Schuppa <32750715+davidSchuppa@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:49:58 +0100 Subject: [PATCH] chore(pipeline): avoid running sample release on completed but failed triggering workflows SUITEDEV-35237 Co-authored-by: megamegax --- .github/workflows/release_sample_app_workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_sample_app_workflow.yml b/.github/workflows/release_sample_app_workflow.yml index 1d494bd4..b56ca5da 100644 --- a/.github/workflows/release_sample_app_workflow.yml +++ b/.github/workflows/release_sample_app_workflow.yml @@ -33,6 +33,7 @@ env: jobs: ReleaseSampleApp: + if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Release Sample App runs-on: ubuntu-latest steps: @@ -71,7 +72,7 @@ jobs: track: ${{ github.event.workflow_run.inputs.track }} Report: - if: always() + if: ${{ always() && github.event.workflow_run.conclusion == 'success' }} needs: [ ReleaseSampleApp ] runs-on: ubuntu-latest steps: