|
@@ -275,8 +275,9 @@ jobs:
|
|
timeout-minutes: 20
|
|
timeout-minutes: 20
|
|
steps:
|
|
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 checks triggers Visual Snapshots which is a required check
|
|
|
|
+ # NOTE: A timeout is considered a failure
|
|
- name: Check for failures
|
|
- name: Check for failures
|
|
- if: contains(needs.*.result, 'failure')
|
|
|
|
|
|
+ if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
|
|
run: |
|
|
run: |
|
|
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
|
|
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
|
|
|
|
|