Skip to content

Branches and protection

The default branch, protection rules, and who can push where.

Applies to EngineCloud
View as Markdown

New repositories protect their default branch (main) from the start: changes come through pull requests, one approval, no force-push.

RuleWhat it does
Pull request requiredno direct pushes to the branch
Approvalshow many reviewers must approve; new commits dismiss old approvals
Required checksstatus checks that must pass, such as sypnia-run/preview or cases/check
No force-push, no deletionhistory on the branch cannot be rewritten
Linear historyonly squash or rebase merges
Signed commitsevery commit verified (Security)
Who may bypassnobody by default; never an agent

Rules apply to a branch name or a pattern (release/*). Agents, Sypnia Agent included, can push to their own branches and open pull requests; merging into a protected branch is a person’s decision (Sypnia Agent).

    Search pages, sections and terms