Unverified Commit 9151362c authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Make tests result check more accurate (#52273)

This ensures we check all statuses properly as previously only one
success was required.

x-ref: https://github.com/vercel/next.js/pull/52272
x-ref: [slack
thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1688573457803739)
parent dd0a9d03
...@@ -238,4 +238,4 @@ jobs: ...@@ -238,4 +238,4 @@ jobs:
name: thank you, next name: thank you, next
steps: steps:
- run: exit 1 - run: exit 1
if: ${{ always() && !contains(needs.*.result, 'success') }} if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')) }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment