pr-check: Remove draft labels from non draft PRs

This commit is contained in:
bbhtt
2025-09-14 10:48:37 +05:30
parent 165b0d0fc7
commit 27a86ea4f4
+3
View File
@@ -107,6 +107,9 @@ jobs:
BLOCKED=0
gh pr view $PR_NUM --json isDraft --jq '.isDraft' | grep -q false && \
gh pr edit $PR_NUM --remove-label "work-in-progress" || true
comment_exists() {
local comment="$1"
echo "$PR_COMMENTS" | grep -Fq "$comment"