Skip to content

Commit

Permalink
all: Add a generic 'complete' job for PR pass criteria flexibility. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Aug 10, 2022
1 parent 9d5b585 commit e07b038
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ on:
pull_request:

jobs:
complete:
if: always()
needs: [check, build, test]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1

check:
strategy:
Expand Down

0 comments on commit e07b038

Please sign in to comment.