diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index bf6f487..0a50c83 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -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"