chore(branch-protection): allow actions + moko-deploy bots on protected branches #49

Merged
jmiller merged 1 commits from chore/branch-protection-bot-allowlist into main 2026-07-04 23:23:17 +00:00
Owner

Adds the automation identities to the branch-protection rule definitions (org provisioner):

  • all rules: push_whitelist_actions_user: true + moko-deploy in the push whitelist
  • dev, rc: force-push enabled for the bots → one-line dev sync (git push --force origin main:dev)
  • main: force-push stays disabled

Root enabler for the workflow-audit fixes (Template-Generic#53). Mirrors the canonical change in mokocli. moko-deploy write access tracked in mcp-mokogitea-api#30.

Adds the automation identities to the branch-protection rule definitions (org provisioner): - **all rules**: `push_whitelist_actions_user: true` + `moko-deploy` in the push whitelist - **dev, rc**: force-push enabled for the bots → one-line dev sync (`git push --force origin main:dev`) - **main**: force-push stays disabled Root enabler for the workflow-audit fixes (Template-Generic#53). Mirrors the canonical change in mokocli. `moko-deploy` write access tracked in mcp-mokogitea-api#30.
jmiller added 1 commit 2026-07-04 23:22:31 +00:00
chore(branch-protection): allow actions + moko-deploy bots on protected branches
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Has been skipped
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 3s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 1m3s
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
abe2c102fd
Adds the automation identities to the branch-protection rule definitions so
release automation can operate on protected branches:
- all rules: push_whitelist_actions_user=true + moko-deploy in push whitelist
- dev, rc: enable force-push for the bots so dev can be reset to main via a
  single `git push --force origin main:dev` (delete+recreate cannot work on a
  protected branch)
- main keeps force-push disabled

moko-deploy needs org-team write access to take effect (mcp-mokogitea-api#30).
Unblocks the dev-sync + version-persist fixes (Template-Generic#53).

Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
jmiller merged commit 7b86c2c16a into main 2026-07-04 23:23:17 +00:00
jmiller deleted branch chore/branch-protection-bot-allowlist 2026-07-04 23:23:20 +00:00
Sign in to join this conversation.
No Reviewers
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/Template-Joomla#49