pr-check: Remove draft labels from non draft PRs
This commit is contained in:
parent
165b0d0fc7
commit
27a86ea4f4
1 changed files with 3 additions and 0 deletions
3
.github/workflows/pr-check.yml
vendored
3
.github/workflows/pr-check.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue