|
@@ -435,8 +435,9 @@ jobs:
|
|
|
if: always()
|
|
|
runs-on: ubuntu-20.04
|
|
|
steps:
|
|
|
- # If any jobs we depend on fail, we will fail since this checks triggers Visual Snapshots which is a required check
|
|
|
+ # If any jobs we depend on fail, we will fail since this is a required check
|
|
|
+ # NOTE: A timeout is considered a failure
|
|
|
- name: Check for failures
|
|
|
- if: contains(needs.*.result, 'failure')
|
|
|
+ if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
|
|
|
run: |
|
|
|
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
|