flow: squash into dev, fast-forward the promotions #165
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Jinemi/thermograph#165
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/ff-promotion-flow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Encodes the branch flow in the two places that can hold it: repo settings (already applied) and the docs.
Enforced repo-wide — Forgejo has no per-branch merge-style setting, so allowing only squash and fast-forward-only is the enforcement:
feat/*→devdev→main,main→releaseSquashing
devintomainwould freezemerge-base(dev, main)and make every later promotion re-apply workmainalready has. Fast-forwarding means a promotion creates no commit, so the branches keep identical history, andrelease ⊆ main ⊆ devholds permanently. A one-time realignment (#164) already restored that invariant — the trees were identical, only promotion merge commits differed.allow_rebase_updateis untouched; the merge queue needs it.Also adds
releasetopr-build.yml's branches — step one of the order BRANCHING.md prescribes for closing the missing required check onrelease. The check itself gets enabled only after a real PR shows the context appearing.