Add branch protection (#31)

This commit is contained in:
Patrick Stevens
2023-04-18 23:21:24 +01:00
committed by GitHub
parent d6a4da547a
commit 651ca3aa41
7 changed files with 192 additions and 7 deletions

View File

@@ -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" }
]
}
}
}
}