mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Update all-good to understand neutral checks
This commit is contained in:
parent
37b9c19a79
commit
e5b32013cb
4
.github/workflows/all-good.yaml
vendored
4
.github/workflows/all-good.yaml
vendored
@ -1,4 +1,4 @@
|
||||
name: All good?
|
||||
name: Did all the other checks pass?
|
||||
|
||||
on: push
|
||||
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
continue
|
||||
fi
|
||||
|
||||
failed=$(echo "$response" | jq '[.check_runs[] | select(.conclusion != "success" and .name != "all-good")] | length')
|
||||
failed=$(echo "$response" | jq '[.check_runs[] | select(.conclusion != "success" and .conclusion != "skipped" and .conclusion != "neutral" and .name != "all-good")] | length')
|
||||
if [ "$failed" -eq 0 ]; then
|
||||
echo "All check runs passed!"
|
||||
exit 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user