You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STATUS="⏭️ **Review skipped** — another review is already in progress"
832
+
gh api "repos/$REPOSITORY/issues/$PR_NUMBER/comments" \
833
+
-f body="⏭️ **Review skipped** — another review for this PR is already in progress (started ${LOCK_AGE}s ago). Only one review runs at a time to avoid duplicate comments. The in-progress review will post its results when complete." \
834
+
2>&1 || {
835
+
echo "::warning::Failed to post skip comment to PR"
836
+
STATUS="${STATUS} (⚠️ failed to notify on PR)"
837
+
}
838
+
elif [ -z "$EXIT_CODE" ]; then
839
+
STATUS="⏭️ **Review skipped** — agent did not run"
840
+
elif [ "$EXIT_CODE" != "0" ]; then
827
841
# Check if agent actually posted a review despite the error exit code.
828
842
# This happens when a sub-agent fails (e.g., API overload) but the root
0 commit comments