Skip to content

Commit 1b54496

Browse files
author
Tyler Titsworth
authored
Check Status Conclusion of Merge Check (#115)
1 parent e6fd96e commit 1b54496

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/merge_check.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,27 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be
24+
id: helm-ci
2425
with:
2526
checkName: helm-ci
2627
ref: ${{ github.event.merge_group.head_ref }}
2728
timeoutSeconds: 1800
2829
token: ${{ secrets.ACTION_TOKEN }}
2930
- uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be
31+
if: ${{ steps.helm-ci.outputs.conclusion == 'success' }}
32+
id: integration-test
3033
with:
3134
checkName: integration-test
3235
ref: ${{ github.event.merge_group.head_ref }}
3336
timeoutSeconds: 1800
3437
token: ${{ secrets.ACTION_TOKEN }}
3538
- uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be
39+
if: ${{ steps.integration-test.outputs.conclusion == 'success' }}
40+
id: coverage
3641
with:
3742
checkName: coverage
3843
ref: ${{ github.event.merge_group.head_ref }}
3944
timeoutSeconds: 1800
4045
token: ${{ secrets.ACTION_TOKEN }}
46+
- if: ${{ steps.coverage.outputs.conclusion != 'success' }}
47+
run: exit 1

0 commit comments

Comments
 (0)