Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
pull_request_rules:
- name: Automatic rebase to keep PRs up-to-date
conditions:
- "-draft"
- "-conflict"
- "-closed"
- "#approved-reviews-by>=1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this rule is going to conflict with the one we have that causes MRs to merge when they are approved.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhellmann Along with this change we need to do the following
If you want to force a specific update method, you need to configure it in your GitHub repository settings:
Go to: Repository Settings → General → Pull Requests
Look for: "Allow merge commits" / "Allow squash merging" / "Allow rebase merging"
Set your preferred default

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but I don't think we want to rebase on merge. We want to force the tests to run against the code either merged against main or rebased against main.

actions:
update:
- name: Add CI label
conditions:
- or:
Expand Down
Loading