Public Access
fix(workflow-sync): platform detection via /metadata API #343
Reference in New Issue
Block a user
Delete Branch "fix/sync-platform-metadata"
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?
getRepoPlatform now reads the MokoGitea /metadata endpoint instead of the retired manifest.xml, so --delete-orphans routes each repo to its correct platform template. Prerequisite for safely enabling orphan pruning.
getRepoPlatform read .mokogitea/manifest.xml (retired org-wide) -> returned 'generic' for every repo, so --delete-orphans would compare all repos against Template-Generic and delete platform-specific workflows. Now reads the public GET /api/v1/repos/{owner}/{repo}/metadata .platform field.Wiki reminder: docs are wiki-first -- if this PR changes behavior, usage, config, or standards, please update the repo wiki before/after merge. (non-blocking)