Public Access
fix: template scaffolding uses .github/workflows instead of .mokogitea/workflows
#337
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
MokoGitea repos use
.mokogitea/workflows/(astemplates/mokogitea/CLAUDE.md.template:32explicitly states: "Workflow directory:.mokogitea/(not.gitea/or.github/)"), but several template files that get pushed to live repos still reference the GitHub path.github/workflows/.Functionally wrong (breaks ownership matching)
templates/mokogitea/CODEOWNERS(lines 12–37) — this CODEOWNERS is deployed to MokoGitea repos, yet every entry points at/.github/workflows/…:.mokogitea/workflows/files → code-owner protection on workflows is silently a no-op.deploy-dev.yml,auto-dev-issue.yml,standards-compliance.yml,ci-joomla.yml,update-server.yml,branch-freeze.yml, …).Fix: repoint to
.mokogitea/workflows/and replace the file list with the current workflow set (auto-release.yml,pre-release.yml,cascade-dev.yml,ci-generic.yml/ci-platform.yml,pr-check.yml,cleanup.yml,branch-cleanup.yml,notify.yml,repo-health.yml,gitleaks.yml,issue-branch.yml,version-set.yml,sync-on-merge.yml). Note the correctCODEOWNERS.templatealready exists alongside it — the plainCODEOWNERSis the stale artifact.Lower impact (docs / ignore rules)
templates/docs/required/CODEOWNERS:22,25— same.github/mismatchtemplates/docs/required/template-SECURITY.md:162,167— doc references to.github/workflows/codeql-analysis.yml,.github/dependabot.ymltemplates/required/README.md,templates/schemas/template-repository-structure.xml— PLANNED/schema stubs referencing.github/workflows.gitignore+templates/configs/gitignore*—.github/workflows/*.log(harmless, ignoring a dir that won't exist)Note
The Template-Generic clone already carries
.github/workflowsrefs inSECURITY.md/.gitattributes/.gitignore, so this has already propagated into at least the template repo. Fixing the source templates here is required before the next sync stops re-seeding it.