Skip to content

Commit

Permalink
chore(pipeline): avoid running sample release on completed but failed…
Browse files Browse the repository at this point in the history
… triggering workflows

SUITEDEV-35237

Co-authored-by: megamegax <[email protected]>
  • Loading branch information
davidSchuppa and megamegax committed Mar 1, 2024
1 parent 826830c commit 94a2ff6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release_sample_app_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ env:

jobs:
ReleaseSampleApp:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Release Sample App
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 94a2ff6

Please sign in to comment.