Skip to content

Commit d1f38bb

Browse files
committed
Add completion job so we can have dependabot auto-merge and required builds
1 parent 8d7c6df commit d1f38bb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,15 @@ jobs:
197197
fail_ci_if_error: true
198198
token: ${{ secrets.CODECOV_TOKEN }}
199199
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
200+
201+
completion:
202+
needs: build
203+
runs-on: ubuntu-latest
204+
if: always() # Run even if one matrix job fails
205+
steps:
206+
- name: Check matrix job status
207+
run: |-
208+
if ! ${{ needs.build.result == 'success' }}; then
209+
echo "One or more matrix jobs failed"
210+
exit 1
211+
fi

0 commit comments

Comments
 (0)