R71 Never set a change to merge automatically

On by default

Never set a change to merge automatically.

Reason

What takes effect must be exactly the version that was reviewed (Art. VII §3(2)). An automatic merge goes through at whatever version first meets its conditions, reviewed or not, and skips what whoever merges does just before merging: checking that the version in front of them is the approved one and reading the change’s record once more.

Verification

Setting a change to merge automatically is any setting that merges it later without someone deciding at that moment, for example a code host’s setting that merges a change once its checks pass. The rule binds every agent, the author and whoever merges alike. Whoever merges does it by hand when they decide to; that includes a merge command that fails when the change has moved from the approved version.

Violated when an agent sets a change to merge automatically.

Provisions of the constitution it cites

Relations

Parent
R274 Pull Requests
Requires
none
Conflicts with
none

Metadata

ID
71
Revision
7
Kind
rule
Status
trial
Slug
no-automatic-merge
Default level
project
Constitution revisions
>=1
Check
builtin
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh