Skip to content

Commit

Permalink
Fail self-test if build did not succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
wms committed Oct 13, 2022
1 parent 4e928cb commit effb16c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ./
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: build
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Fail if build did not succeed
if: steps.wait-for-build.outputs.conclusion != 'success'
run: exit 1

0 comments on commit effb16c

Please sign in to comment.