#16: provision branch protection on .forgejo/workflows/** (+ deploy-key/scoped-token setup) #18
No reviewers
Labels
No labels
bug
discussion
duplicate
enhancement
goal
help wanted
horizon:backlog
horizon:governance
horizon:mvp
invalid
operator-decision
question
roadmap
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-platform/mitosis!18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/credential-boundary-provisioning"
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?
Do NOT merge until validated on gc.local (per the #16 plan). Closes plat/mitosis#16. germinate sets protected-file-patterns on app workflows so a non-admin agent can't add a secret-dumping workflow. Note: the protectWorkflows rule-name semantics are Forgejo-version-dependent — gc.local check (d) must confirm an evil-workflow push is actually rejected.
fa5913baa1tof45b378b09Rebased onto current main (
58bd911: python3 flake fix #50, refreshed seed #20, per-domain DNS #12).Conflict resolution: only bin/germinate conflicted (main added the in-cluster DNS block; this branch added the forgejoSsh override right after the appsDomain block). Resolved to keep both — the DNS block with its own fi, then the forgejoSsh block. flake.nix and genesis/seed.tar.gz took main's versions (the branch does not touch them). bin/lib.sh applied cleanly (append-only).
Rule divergence reconciled: germinate now emits the enforcing rule_name "**" (the branch-matching glob) instead of the inert rule_name "no-agent-workflows". On this Forgejo generation rule_name is the branch-glob AND the URL identifier (confirmed by the dispatcher's protectMain -> PATCH /branch_protections/main); a descriptive name matched a nonexistent branch and never bound. The PATCH convergence URL was updated to /branch_protections/%2A%2A.
Head
f45b378, now mergeable. Validating on an isolated valid8c germination before merge.