Skip to content

Commit 8dde5bd

Browse files
committed
Update mergify rules so that I can add waiting-on-author on a PR that's passing CI. Remove noisy comments.
1 parent 7759cb8 commit 8dde5bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/mergify.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ pull_request_rules:
4848
# CI workflows approvals.
4949
- check-success=test-suite-success
5050
- check-success=local-testnet-success
51-
- "#review-requested > 0"
51+
# Update the label only if there are no more change requests from any reviewers and no unresolved threads.
52+
# This rule ensures that a PR with passing CI can be marked as `waiting-on-author`.
53+
- or:
54+
- "#changes-requested-reviews-by = 0"
55+
- "#review-threads-unresolved = 0"
5256
actions:
5357
label:
5458
remove:
5559
- waiting-on-author
5660
add:
5761
- ready-for-review
58-
comment:
59-
message: >
60-
All required checks have passed and there are no merge conflicts.
61-
This pull request may now be ready for another review.
6262

6363
- name: Close stale pull request after 30 days of inactivity
6464
conditions:

0 commit comments

Comments
 (0)