Update OpenAPI Descriptions (#32230)
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
00814c80b0
commit
f4144ea4d6
@@ -338449,6 +338449,23 @@
|
||||
"examples": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"secret_scanning_push_protection_custom_link_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.",
|
||||
"examples": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"secret_scanning_push_protection_custom_link": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "An optional URL string to display to contributors who are blocked from pushing a secret.",
|
||||
"examples": [
|
||||
"https://github.com/test-org/test-repo/blob/main/README.md"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -338690,6 +338707,18 @@
|
||||
"name": "secret_scanning_push_protection_enabled_for_new_repositories",
|
||||
"in": "body",
|
||||
"description": "<p>Whether secret scanning push protection is automatically enabled for new repositories.</p>\n<p>To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"<a href=\"https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization\">Managing security managers in your organization</a>.\"</p>\n<p>You can check which security and analysis features are currently enabled by using a <code>GET /orgs/{org}</code> request.</p>"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"name": "secret_scanning_push_protection_custom_link_enabled",
|
||||
"in": "body",
|
||||
"description": "<p>Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.</p>"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "secret_scanning_push_protection_custom_link",
|
||||
"in": "body",
|
||||
"description": "<p>If <code>secret_scanning_push_protection_custom_link_enabled</code> is true, the URL that will be displayed to contributors who are blocked from pushing a secret.</p>"
|
||||
}
|
||||
],
|
||||
"enabledForGitHubApps": true,
|
||||
@@ -339160,6 +339189,23 @@
|
||||
"examples": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"secret_scanning_push_protection_custom_link_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.",
|
||||
"examples": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"secret_scanning_push_protection_custom_link": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "An optional URL string to display to contributors who are blocked from pushing a secret.",
|
||||
"examples": [
|
||||
"https://github.com/test-org/test-repo/blob/main/README.md"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user