Public Access
fix(templates): CODEOWNERS use .mokogitea/workflows not .github/workflows #339
Reference in New Issue
Block a user
Delete Branch "feat/fix-codeowners-mokogitea-path"
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?
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 =
devRetargeted to
devbecausetemplates/mokogitea/CODEOWNERSonly exists ondev, notmain(main's.github/workflowsrefs are all legitimate — theGitHubAdapterplatform 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.ymlare 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.mdPLANNED note, andtemplates/configs/gitignore**.logignore 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/*.ymlself-reference.github/workflows+ obsolete names — tracked separately (see #337 discussion).https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i