fix(mirror-it): create GitHub target repo before registering push mirror
Generate plugin manifests / validate (pull_request) Successful in 17s
Generate plugin manifests / generate (pull_request) Skipped

GitHub, unlike Gitea, doesn't create a repo on first push, so a mirror
pointed at a nonexistent GitHub repo would register successfully but
fail every sync. Check for the target repo via gh/MCP/REST API and
create it if missing, falling back to a clear manual-creation warning
when no capability is available. Bumps plugin version to 1.1.0.
This commit is contained in:
2026-08-25 00:32:40 -04:00
parent a5f907e9cf
commit eeff00b5e7
2 changed files with 51 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mirror-it",
"description": "Configures a Gitea repository to automatically push-mirror its contents to GitHub using the tea CLI and jq.",
"version": "1.0.0",
"version": "1.1.0",
"author": { "name": "Rootiest" }
}