Problem
The "Auto-update approved PRs that are behind" rule is creating merge commits (Merge branch 'main' into <branch>) instead of rebasing. This pollutes PR history with spurious commits from mergify[bot].
Examples:
Root Cause
The update: action in .mergify.yml has no method specified, which defaults to merge.
Expected behavior:
If a rebase fails (e.g., conflicts), the update will fail cleanly rather than falling back to merge.
Problem
The "Auto-update approved PRs that are behind" rule is creating merge commits (
Merge branch 'main' into <branch>) instead of rebasing. This pollutes PR history with spurious commits from mergify[bot].Examples:
Root Cause
The
update:action in.mergify.ymlhas nomethodspecified, which defaults tomerge.Expected behavior:
If a rebase fails (e.g., conflicts), the update will fail cleanly rather than falling back to merge.