mirror of
https://github.com/Smaug123/gitea-repo-config
synced 2025-10-10 17:58:47 +00:00
Add branch protection (#31)
This commit is contained in:
@@ -42,6 +42,19 @@
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user