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
No known key found for this signature in database
GPG key ID: 0C3251A24745E484

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"