R57 Bring changes into the main branch only through reviewed pull requests

Off by default

Make every non-trivial change on a branch of its own and bring it into the main branch only through a reviewed pull request.

Reason

A change takes effect only after another party has reviewed it (Art. VII §3(1)), and what takes effect is exactly the version that was reviewed (Art. VII §3(2)). A pull request from a branch of its own is where that review is held and where the reviewed version is recorded; a change that reaches the main branch any other way skips both.

Verification

The main branch is the branch a repository’s work is merged into, often main. A change is trivial only where the jurisdiction names that kind of change as one that may go into the main branch without a pull request; every other change is non-trivial. When unsure, treat a change as non-trivial.

Violated when a non-trivial change reaches the main branch other than by merging a reviewed pull request from a branch of its own.

Provisions of the constitution it cites

Relations

Parent
R274 Pull Requests
Requires
none
Conflicts with
none

Metadata

ID
57
Revision
4
Kind
rule
Status
trial
Slug
changes-through-pull-requests
Default level
project
Constitution revisions
>=1
Check
none
Default
off
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh