Skip to content

Commit dfd8f0b

Browse files
authored
Add a mergify action to update PRs (#3418)
After a bit of digging I've worked out what's up with mergify. It's still working fine, but it's not updating PRs very often now. The reason for that is that it updates PRs that are in the queue, but to get _into_ the queue you have to pass CI, which is hard ATM because of our flaky CI. So we can add a separate update rule that just updates the labelled PRs, so that they are at least kept up-to-date with master.
1 parent e7b1ef0 commit dfd8f0b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/mergify.yml

+12
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@ pull_request_rules:
1313
queue:
1414
method: squash
1515
name: default
16+
# The queue action automatically updates PRs that
17+
# have entered the queue, but in order to do that
18+
# they must have passed CI. Since our CI is a bit
19+
# flaky, PRs can fail to get in, which then means
20+
# they don't get updated, which is extra annoying.
21+
# This just adds the updating as an independent
22+
# step.
23+
- name: Automatically update pull requests
24+
conditions:
25+
- label=merge me
26+
actions:
27+
update:

0 commit comments

Comments
 (0)