Skip to content

Commit

Permalink
Add a mergify action to update PRs (#3418)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michaelpj authored Dec 22, 2022
1 parent e7b1ef0 commit dfd8f0b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,15 @@ pull_request_rules:
queue:
method: squash
name: default
# The queue action automatically updates PRs that
# have entered the queue, but in order to do that
# they must have passed CI. Since our CI is a bit
# flaky, PRs can fail to get in, which then means
# they don't get updated, which is extra annoying.
# This just adds the updating as an independent
# step.
- name: Automatically update pull requests
conditions:
- label=merge me
actions:
update:

0 comments on commit dfd8f0b

Please sign in to comment.