mirror of
https://github.com/Smaug123/gitea-repo-config
synced 2025-10-05 07:28:40 +00:00
Add protected branch support (#50)
This commit is contained in:
@@ -227,6 +227,16 @@
|
||||
},
|
||||
"blockOnOutdatedBranch": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"requiredStatusChecks": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"description": "A list of status check patterns; merge into this branch will be blocked unless all these checks have run and passed. (Probably go with alphanumeric strings, I can't find any docs.)",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user