Skip to content

Commit

Permalink
ci: add summary check for PRs
Browse files Browse the repository at this point in the history
This job can be used to keep the branch protection settings simple.
  • Loading branch information
silvester747 committed Sep 14, 2023
1 parent af5d8e3 commit a09f646
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ jobs:
push: ${{ startswith(github.ref, 'refs/heads/develop') }}
secrets: inherit

check:
name: All passed
needs: [test, docker]
if: always()
runs-on: ubuntu-latest
steps:
- name: All OK
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Something failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

0 comments on commit a09f646

Please sign in to comment.