{ "users": { "admin": { "isAdmin": true, "email": "some-admin-email@example.com", "visibility": "private" }, "nonadmin-user": { "isAdmin": false, "email": "some-nonadmin-email@example.com", "website": "https://example.com", "visibility": "public" } }, "repos": { "nonadmin-user": { "synced-from-github-repo-1": { "description": "A repo that is imported from GitHub", "gitHub": { "uri": "https://github.com/MyName/repo-name" } }, "synced-from-github-repo-2": { "description": "Another repo that is imported from GitHub", "gitHub": { "uri": "https://github.com/MyName/repo-name-2" } }, "new-repo": { "description": "A repo that's created directly on this Gitea", "native": { "defaultBranch": "main", "private": false } }, "new-repo-mirrored": { "description": "A repo that's created directly on this Gitea and mirrored to GitHub", "native": { "defaultBranch": "main", "private": false, "mirror": { "gitHubAddress": "https://github.com/MyName/repo-name-3" } } }, "new-repo-mirrored-with-branches": { "description": "A repo that's created directly on this Gitea and mirrored to GitHub", "native": { "defaultBranch": "main", "private": false, "mirror": { "gitHubAddress": "https://github.com/MyName/repo-name-3" }, "protectedBranches": [ { "branchName": "main" } ] } }, "new-repo-mirrored-with-branches-and-protection": { "description": "A repo that's created directly on this Gitea and mirrored to GitHub", "native": { "defaultBranch": "main", "private": false, "mirror": { "gitHubAddress": "https://github.com/MyName/repo-name-3" }, "protectedBranches": [ { "branchName": "main", "blockOnOutdatedBranch": true, "requiredStatusChecks": ["all-pr-checks-complete"] } ] } }, "deleted-repo": { "description": "A repo that's been scheduled for deletion at the next run", "deleted": true, "native": { "defaultBranch": "main", "private": false, "mirror": { "gitHubAddress": "https://github.com/MyName/repo-name-3" }, "protectedBranches": [ { "branchName": "main", "blockOnOutdatedBranch": true, "requiredStatusChecks": ["all-pr-checks-complete"] } ] } }, "deleted-mirror": { "description": "A repo that's been scheduled for deletion at the next run", "deleted": true, "gitHub": { "uri": "https://github.com/MyName/only-remaining-copy" } } } } }