From 8dde5bdb4413f5f1faf3203bf405a563f5449600 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Tue, 27 May 2025 23:03:22 +1000 Subject: [PATCH] Update mergify rules so that I can add `waiting-on-author` on a PR that's passing CI. Remove noisy comments. --- .github/mergify.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index f4d1520826..a84b51b32e 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -48,17 +48,17 @@ pull_request_rules: # CI workflows approvals. - check-success=test-suite-success - check-success=local-testnet-success - - "#review-requested > 0" + # Update the label only if there are no more change requests from any reviewers and no unresolved threads. + # This rule ensures that a PR with passing CI can be marked as `waiting-on-author`. + - or: + - "#changes-requested-reviews-by = 0" + - "#review-threads-unresolved = 0" actions: label: remove: - waiting-on-author add: - ready-for-review - comment: - message: > - All required checks have passed and there are no merge conflicts. - This pull request may now be ready for another review. - name: Close stale pull request after 30 days of inactivity conditions: