mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 00:08:48 +00:00
Allow to disable deployments (#3570)
…but if they're enabled, allow for all events. Also add warning that you should only enable it if you trust the users with push access. closes #3559 --------- Co-authored-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
@@ -4048,6 +4048,9 @@ const docTemplate = `{
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"allow_deploy": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"allow_pr": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -4123,6 +4126,9 @@ const docTemplate = `{
|
||||
"RepoPatch": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"allow_deploy": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"allow_pr": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
Reference in New Issue
Block a user