fix(mirror-it): create GitHub target repo before registering push mirror
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:
@@ -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" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user