Skip to content

Commit e0ee148

Browse files
authored
Prevent mergify from updating labels while CI is still running. (#7470)
1 parent cc6ae9d commit e0ee148

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/mergify.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ pull_request_rules:
2323
conditions:
2424
- -closed
2525
- or:
26-
- check-failure=test-suite-success
2726
- check-skipped=test-suite-success
28-
- check-failure=local-testnet-success
2927
- check-skipped=local-testnet-success
28+
- check-failure=test-suite-success
29+
- check-failure=local-testnet-success
3030
actions:
3131
comment:
3232
message: Some required checks have failed. Could you please take a look @{{author}}? 🙏
@@ -42,11 +42,10 @@ pull_request_rules:
4242
- -draft
4343
- label=waiting-on-author
4444
- -conflict
45-
# Need to be the logical opposite of the above rule `Ask to resolve CI failures`, otherwise mergify will run into an infinite loop.
46-
- check-failure!=test-suite-success
47-
- check-skipped!=test-suite-success
48-
- check-failure!=local-testnet-success
49-
- check-skipped!=local-testnet-success
45+
# Unfortunately, it doesn't look like there's an easy way to check for PRs pending
46+
# CI workflows approvals.
47+
- check-success=local-testnet-success
48+
- check-success=local-testnet-success
5049
- "#review-requested > 0"
5150
actions:
5251
label:

0 commit comments

Comments
 (0)