feat: disinto init should set up branch protection on Forgejo #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
disinto initcreates the repo, bot users, labels, and CI — but does not protect the primary branch. Any bot (or human) can push directly to main, bypassing the PR/review/CI flow.Design
After repo creation,
disinto initshould configure branch protection on the primary branch:This matches the protection already configured on the Codeberg mirror and ensures the factory's own PR flow is enforced, not just conventional.