mirror of
https://github.com/Smaug123/gitea-repo-config
synced 2025-10-05 15:38:41 +00:00
Rename to Gitea.Declarative (#4)
This commit is contained in:
34
Gitea.Declarative.Test/GiteaConfig.json
Normal file
34
Gitea.Declarative.Test/GiteaConfig.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"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": "https://github.com/MyName/repo-name"
|
||||
},
|
||||
"synced-from-github-repo-2": {
|
||||
"description": "Another repo that is imported from GitHub",
|
||||
"gitHub": "https://github.com/MyName/repo-name-2"
|
||||
},
|
||||
"new-repo": {
|
||||
"description": "A repo that's created directly on this Gitea",
|
||||
"native": {
|
||||
"defaultBranch": "main",
|
||||
"private": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user