From e3725297b8b934b315d09b6db89ea48d5af9d232 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Wed, 6 Mar 2024 12:06:45 +0000 Subject: [PATCH] WIP: schema updates --- cache/api.github.com.json | 27 +++++++++++++++++++++++++++ cache/ghec.json | 27 +++++++++++++++++++++++++++ cache/ghes-3.11.json | 27 +++++++++++++++++++++++++++ cache/ghes-3.12.json | 27 +++++++++++++++++++++++++++ 4 files changed, 108 insertions(+) diff --git a/cache/api.github.com.json b/cache/api.github.com.json index b77ba96..c342fd4 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -27179,6 +27179,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", diff --git a/cache/ghec.json b/cache/ghec.json index 6599c51..7d654eb 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -28302,6 +28302,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", diff --git a/cache/ghes-3.11.json b/cache/ghes-3.11.json index b09315b..1524ed2 100644 --- a/cache/ghes-3.11.json +++ b/cache/ghes-3.11.json @@ -28471,6 +28471,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", diff --git a/cache/ghes-3.12.json b/cache/ghes-3.12.json index 0adb0b0..ede5933 100644 --- a/cache/ghes-3.12.json +++ b/cache/ghes-3.12.json @@ -29121,6 +29121,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object",