mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-06-06 08:10:48 +08:00
ci: copilot review 超时时 graceful pass 而非 fail
This commit is contained in:
@@ -37,7 +37,7 @@ jobs:
|
|||||||
echo "Attempt $i/48: Copilot has not reviewed $HEAD_SHA yet — sleeping 10s."
|
echo "Attempt $i/48: Copilot has not reviewed $HEAD_SHA yet — sleeping 10s."
|
||||||
sleep 10
|
sleep 10
|
||||||
done
|
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 "All reviews currently on this PR:"
|
||||||
echo "$reviews" | jq -r '.[] | " - \(.user.login) on \(((.commit_id // "?") | .[0:7])): \(.state)"' || true
|
echo "$reviews" | jq -r '.[] | " - \(.user.login) on \(((.commit_id // "?") | .[0:7])): \(.state)"' || true
|
||||||
exit 1
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user