mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 12:00:02 +00:00
Split repo trusted setting (#4025)
This commit is contained in:
@@ -5099,7 +5099,7 @@ const docTemplate = `{
|
||||
"type": "integer"
|
||||
},
|
||||
"trusted": {
|
||||
"type": "boolean"
|
||||
"$ref": "#/definitions/model.TrustedConfiguration"
|
||||
},
|
||||
"visibility": {
|
||||
"$ref": "#/definitions/RepoVisibility"
|
||||
@@ -5134,7 +5134,7 @@ const docTemplate = `{
|
||||
"type": "integer"
|
||||
},
|
||||
"trusted": {
|
||||
"type": "boolean"
|
||||
"$ref": "#/definitions/model.TrustedConfigurationPatch"
|
||||
},
|
||||
"visibility": {
|
||||
"type": "string"
|
||||
@@ -5555,7 +5555,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"trusted": {
|
||||
"type": "boolean"
|
||||
"$ref": "#/definitions/metadata.TrustedConfiguration"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -5590,6 +5590,20 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"metadata.TrustedConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"network": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"security": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"volumes": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"metadata.Workflow": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -5628,6 +5642,34 @@ const docTemplate = `{
|
||||
"ForgeTypeAddon"
|
||||
]
|
||||
},
|
||||
"model.TrustedConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"network": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"security": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"volumes": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.TrustedConfigurationPatch": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"network": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"security": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"volumes": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.Workflow": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user