ci: copilot review 超时时 graceful pass 而非 fail

This commit is contained in:
2026-05-13 19:21:41 +08:00
parent 804a724e79
commit 3c48bdd96b

View File

@@ -37,7 +37,7 @@ jobs:
echo "Attempt $i/48: Copilot has not reviewed $HEAD_SHA yet — sleeping 10s."
sleep 10
done
echo " Timed out waiting for Copilot review on $HEAD_SHA."
echo " Timed out waiting for Copilot review on $HEAD_SHA — treating as pass (Copilot may be unavailable)."
echo "All reviews currently on this PR:"
echo "$reviews" | jq -r '.[] | " - \(.user.login) on \(((.commit_id // "?") | .[0:7])): \(.state)"' || true
exit 1
exit 0