From 10f0593b13d4ad2a2125ff5e6f392fd5b657e92e Mon Sep 17 00:00:00 2001 From: bbhtt Date: Wed, 24 Dec 2025 18:14:42 +0530 Subject: [PATCH] pr-check: Fix syntax error --- .github/workflows/pr-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 9c4b731..e29c5d7 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -287,6 +287,7 @@ jobs: echo "Nothing to do" start_build fi + if label_exists_any "pr-check-blocked" "blocked" \ && ! comment_exists_any "$BUILD_SUCCESS_COMMENT" \ && [ "$(echo "$PR_COMMENTS" | grep -E -c 'Test build.*failed')" -gt 5 ]; then @@ -294,6 +295,7 @@ jobs: gh pr comment "$PR_NUM" --body "$LOCKED_COMMENT" || true gh pr lock "$PR_NUM" || true fi + if label_exists_any "awaiting-review" && [ "$PR_THREAD_COUNT" -gt 0 ]; then echo "Has awaiting-review label and review comments, marking as awaiting-changes" gh pr edit "$PR_NUM" \ @@ -305,7 +307,6 @@ jobs: --add-label "awaiting-review" \ --remove-label "awaiting-changes" || true fi - fi echo echo "=== Finished checking PR https://github.com/flathub/flathub/pull/$PR_NUM ==="