fix(templates): CODEOWNERS use .mokogitea/workflows not .github/workflows #339

Merged
jmiller merged 1 commits from feat/fix-codeowners-mokogitea-path into dev 2026-07-05 20:50:22 +00:00
Owner

Closes #337.

The synced CODEOWNERS templates deployed to MokoGitea repos pointed at .github/workflows/ (and other .github/ config paths), which never match the real .mokogitea/ files — so code-owner protection on workflows/config was silently a no-op. Also refreshes the stale, consolidated-away workflow filename list.

Changes

  • templates/mokogitea/CODEOWNERS — repoint workflow + config paths .github/.mokogitea/; replace obsolete workflow names (deploy-dev, auto-dev-issue, standards-compliance, ci-joomla, update-server, branch-freeze, …) with the current canonical set (auto-release, pre-release, cascade-dev, ci-generic, pr-check, cleanup, branch-cleanup, notify, repo-health, gitleaks, issue-branch, ci-issue-reporter, sync-on-merge, version-set, auto-bump, rc-revert).
  • templates/docs/required/CODEOWNERS — same .github/.mokogitea/ repoint (workflows + ISSUE_TEMPLATE).

Base = dev

Retargeted to dev because templates/mokogitea/CODEOWNERS only exists on dev, not main (main's .github/workflows refs are all legitimate — the GitHubAdapter platform code, which must stay). Verified per triage before scoping.

Deliberately NOT changed (documented in #337, not simple path-swaps)

  • templates/docs/required/template-SECURITY.mdcodeql-analysis.yml / dependabot.yml are GitHub-only features with no MokoGitea equivalent (path-swap would be wrong; needs a real rewrite to gitleaks/native).
  • templates/schemas/template-repository-structure.xml, templates/required/README.md PLANNED note, and templates/configs/gitignore* *.log ignore rules — lower-impact; left for a focused follow-up.

Separate main-only issue (not this PR)

Stale vendored workflow copies under mcp/servers/{mokossh,mokosuite_api,windows}/.mokogitea/workflows/*.yml self-reference .github/workflows + obsolete names — tracked separately (see #337 discussion).

https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i

Closes #337. The synced CODEOWNERS templates deployed to MokoGitea repos pointed at `.github/workflows/` (and other `.github/` config paths), which never match the real `.mokogitea/` files — so **code-owner protection on workflows/config was silently a no-op**. Also refreshes the stale, consolidated-away workflow filename list. ## Changes - **`templates/mokogitea/CODEOWNERS`** — repoint workflow + config paths `.github/` → `.mokogitea/`; replace obsolete workflow names (`deploy-dev`, `auto-dev-issue`, `standards-compliance`, `ci-joomla`, `update-server`, `branch-freeze`, …) with the current canonical set (`auto-release`, `pre-release`, `cascade-dev`, `ci-generic`, `pr-check`, `cleanup`, `branch-cleanup`, `notify`, `repo-health`, `gitleaks`, `issue-branch`, `ci-issue-reporter`, `sync-on-merge`, `version-set`, `auto-bump`, `rc-revert`). - **`templates/docs/required/CODEOWNERS`** — same `.github/` → `.mokogitea/` repoint (workflows + ISSUE_TEMPLATE). ## Base = `dev` Retargeted to `dev` because `templates/mokogitea/CODEOWNERS` **only exists on `dev`**, not `main` (main's `.github/workflows` refs are all legitimate — the `GitHubAdapter` platform code, which must stay). Verified per triage before scoping. ## Deliberately NOT changed (documented in #337, not simple path-swaps) - `templates/docs/required/template-SECURITY.md` → `codeql-analysis.yml` / `dependabot.yml` are **GitHub-only** features with no MokoGitea equivalent (path-swap would be wrong; needs a real rewrite to gitleaks/native). - `templates/schemas/template-repository-structure.xml`, `templates/required/README.md` PLANNED note, and `templates/configs/gitignore*` `*.log` ignore rules — lower-impact; left for a focused follow-up. ## Separate main-only issue (not this PR) Stale vendored workflow copies under `mcp/servers/{mokossh,mokosuite_api,windows}/.mokogitea/workflows/*.yml` self-reference `.github/workflows` + obsolete names — tracked separately (see #337 discussion). https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
jmiller added 1 commit 2026-07-05 20:50:09 +00:00
fix(templates): CODEOWNERS use .mokogitea/workflows not .github/workflows
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 9s
Branch Cleanup / Delete merged branch (pull_request) Failing after 2s
Universal: PR Check / Secret Scan (pull_request) Successful in 14s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Failing after 1m6s
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: mokocli CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: mokocli CI / CI Summary (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
d4947a7a80
The synced CODEOWNERS templates deployed to MokoGitea repos pointed at
`.github/workflows/` (and other `.github/` config paths), which never
match the real `.mokogitea/` files — so code-owner protection on
workflows/config was silently a no-op. Also refreshes the stale,
consolidated-away workflow filename list to the current canonical set.

- templates/mokogitea/CODEOWNERS: repoint workflow + config paths to
  .mokogitea/; replace obsolete workflow names (deploy-dev, auto-dev-issue,
  standards-compliance, ci-joomla, update-server, branch-freeze, …) with
  the current set (auto-release, pre-release, cascade-dev, ci-generic,
  pr-check, cleanup, branch-cleanup, notify, repo-health, gitleaks,
  issue-branch, ci-issue-reporter, sync-on-merge, version-set, …).
- templates/docs/required/CODEOWNERS: same .github -> .mokogitea repoint.

Deliberately NOT changed (not simple path-swaps): template-SECURITY.md's
codeql-analysis / dependabot refs (GitHub-only features with no MokoGitea
equivalent), and the schema/gitignore/doc-example refs — see #337.

Closes #337

Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
jmiller merged commit ff91bd89a0 into dev 2026-07-05 20:50:22 +00:00
jmiller deleted branch feat/fix-codeowners-mokogitea-path 2026-07-05 20:50:24 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#339