Skip to content

Commit 94a2ff6

Browse files
chore(pipeline): avoid running sample release on completed but failed triggering workflows
SUITEDEV-35237 Co-authored-by: megamegax <[email protected]>
1 parent 826830c commit 94a2ff6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release_sample_app_workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ env:
3333

3434
jobs:
3535
ReleaseSampleApp:
36+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
3637
name: Release Sample App
3738
runs-on: ubuntu-latest
3839
steps:
@@ -71,7 +72,7 @@ jobs:
7172
track: ${{ github.event.workflow_run.inputs.track }}
7273

7374
Report:
74-
if: always()
75+
if: ${{ always() && github.event.workflow_run.conclusion == 'success' }}
7576
needs: [ ReleaseSampleApp ]
7677
runs-on: ubuntu-latest
7778
steps:

0 commit comments

Comments
 (0)