Update pr.yml
parent
08da9d805a
commit
ded838881f
|
@ -92,5 +92,5 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: fail if conditional jobs failed
|
- name: fail if conditional jobs failed
|
||||||
if: ${{ contains(needs.*.result, 'failure') }}
|
if: contains(fromJSON('["failure", "skipped", "cancelled"]'), needs.*.result)
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|
Loading…
Reference in New Issue