Public Access
chore(branch-protection): allow actions + moko-deploy bots on protected branches #334
Reference in New Issue
Block a user
Delete Branch "chore/branch-protection-bot-allowlist"
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?
Canonical copy of the org branch-protection provisioner. Adds the automation identities to the rule definitions so release automation can operate on protected branches:
push_whitelist_actions_user: true+moko-deployinpush_whitelist_usernamesenable_force_push,force_push_allowlist_usernames: [jmiller, moko-deploy],force_push_allowlist_actions_user: true) → dev can be reset to main via a singlegit push --force origin main:dev(delete+recreate can't work on a protected branch)Because this provisioner POST-creates rules (not PATCH), it should set
push_whitelist_actions_usercorrectly (the PATCH path silently no-ops — see mcp-mokogitea-api#30).⚠️
moko-deployneeds org-team write access before it takes effect (mcp-mokogitea-api#30). Unblocks the dev-sync + version-persist fixes in Template-Generic#53. Applied identically to Template-Generic and Template-Joomla.