summaryrefslogtreecommitdiffstats
path: root/descriptions/api.github.com/api.github.com.json
diff options
context:
space:
mode:
Diffstat (limited to 'descriptions/api.github.com/api.github.com.json')
-rw-r--r--descriptions/api.github.com/api.github.com.json25
1 files changed, 24 insertions, 1 deletions
diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json
index c7afaff87..23fb09614 100644
--- a/descriptions/api.github.com/api.github.com.json
+++ b/descriptions/api.github.com/api.github.com.json
@@ -26299,6 +26299,16 @@
}
}
},
+ "code_security": {
+ "type": "object",
+ "description": "Use the `status` property to enable or disable GitHub Code Security for this repository.",
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "Can be `enabled` or `disabled`."
+ }
+ }
+ },
"secret_scanning": {
"type": "object",
"description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
@@ -101014,6 +101024,18 @@
}
}
},
+ "code_security": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "string",
+ "enum": [
+ "enabled",
+ "disabled"
+ ]
+ }
+ }
+ },
"dependabot_security_updates": {
"description": "Enable or disable Dependabot security updates for the repository.",
"type": "object",
@@ -108245,7 +108267,8 @@
},
"required": [
"file_patterns",
- "minimum_approvals"
+ "minimum_approvals",
+ "reviewer"
]
},
"repository-rule-pull-request": {