Skip to content

Commit d7c85d9

Browse files
authored
ci: add all-passed job to simplify pull request merge rules (#370)
1 parent 25bc414 commit d7c85d9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,11 @@ jobs:
6161
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
6262
with:
6363
coverageCommand: bundle exec appraisal rspec
64+
65+
all-passed:
66+
runs-on: ubuntu-latest
67+
if: always()
68+
needs:
69+
- test
70+
steps:
71+
- run: exit ${{ contains(needs.*.result, 'failure') && 1 || 0 }}

0 commit comments

Comments
 (0)