pr-check: Don't relabel as awaiting-review when it has blocked label

This commit is contained in:
bbhtt
2026-01-24 07:55:33 +05:30
parent 507ed06848
commit 69666c8a6e
+1 -1
View File
@@ -297,7 +297,7 @@ jobs:
gh pr edit "$PR_NUM" \
--add-label "awaiting-changes" \
--remove-label "awaiting-review" >/dev/null 2>&1 || true
elif label_exists_any "awaiting-changes" && ! label_exists_any "awaiting-upstream" "work-in-progress" && [ "$PR_THREAD_COUNT" -eq 0 ]; then
elif label_exists_any "awaiting-changes" && ! label_exists_any "awaiting-upstream" "work-in-progress" "pr-check-blocked" "blocked" && [ "$PR_THREAD_COUNT" -eq 0 ]; then
echo "No review comments, ensuring awaiting-review label"
gh pr edit "$PR_NUM" \
--add-label "awaiting-review" \