Skip to content

Commit e372529

Browse files
author
Octokit Bot
committed
WIP: schema updates
1 parent 886e1cf commit e372529

File tree

4 files changed

+108
-0
lines changed

4 files changed

+108
-0
lines changed

cache/api.github.com.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27179,6 +27179,33 @@
2717927179
}
2718027180
}
2718127181
},
27182+
"repository-rule-params-thresholds": {
27183+
"title": "Thresholds",
27184+
"description": "This setting will not take effect unless at least one code scanning status check is enabled.",
27185+
"type": "object",
27186+
"properties": {
27187+
"code_scanning_alert_threshold": {
27188+
"type": "string",
27189+
"description": "Code scanning alert threshold",
27190+
"enum": ["none", "errors", "errors_and_warnings", "all"]
27191+
},
27192+
"code_scanning_security_alert_threshold": {
27193+
"type": "string",
27194+
"description": "Code scanning security alert threshold.",
27195+
"enum": [
27196+
"none",
27197+
"critical",
27198+
"high_or_higher",
27199+
"medium_or_higher",
27200+
"all"
27201+
]
27202+
}
27203+
},
27204+
"required": [
27205+
"code_scanning_alert_threshold",
27206+
"code_scanning_security_alert_threshold"
27207+
]
27208+
},
2718227209
"repository-rule": {
2718327210
"title": "Repository Rule",
2718427211
"type": "object",

cache/ghec.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28302,6 +28302,33 @@
2830228302
}
2830328303
}
2830428304
},
28305+
"repository-rule-params-thresholds": {
28306+
"title": "Thresholds",
28307+
"description": "This setting will not take effect unless at least one code scanning status check is enabled.",
28308+
"type": "object",
28309+
"properties": {
28310+
"code_scanning_alert_threshold": {
28311+
"type": "string",
28312+
"description": "Code scanning alert threshold",
28313+
"enum": ["none", "errors", "errors_and_warnings", "all"]
28314+
},
28315+
"code_scanning_security_alert_threshold": {
28316+
"type": "string",
28317+
"description": "Code scanning security alert threshold.",
28318+
"enum": [
28319+
"none",
28320+
"critical",
28321+
"high_or_higher",
28322+
"medium_or_higher",
28323+
"all"
28324+
]
28325+
}
28326+
},
28327+
"required": [
28328+
"code_scanning_alert_threshold",
28329+
"code_scanning_security_alert_threshold"
28330+
]
28331+
},
2830528332
"repository-rule": {
2830628333
"title": "Repository Rule",
2830728334
"type": "object",

cache/ghes-3.11.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28471,6 +28471,33 @@
2847128471
}
2847228472
}
2847328473
},
28474+
"repository-rule-params-thresholds": {
28475+
"title": "Thresholds",
28476+
"description": "This setting will not take effect unless at least one code scanning status check is enabled.",
28477+
"type": "object",
28478+
"properties": {
28479+
"code_scanning_alert_threshold": {
28480+
"type": "string",
28481+
"description": "Code scanning alert threshold",
28482+
"enum": ["none", "errors", "errors_and_warnings", "all"]
28483+
},
28484+
"code_scanning_security_alert_threshold": {
28485+
"type": "string",
28486+
"description": "Code scanning security alert threshold.",
28487+
"enum": [
28488+
"none",
28489+
"critical",
28490+
"high_or_higher",
28491+
"medium_or_higher",
28492+
"all"
28493+
]
28494+
}
28495+
},
28496+
"required": [
28497+
"code_scanning_alert_threshold",
28498+
"code_scanning_security_alert_threshold"
28499+
]
28500+
},
2847428501
"repository-rule": {
2847528502
"title": "Repository Rule",
2847628503
"type": "object",

cache/ghes-3.12.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29121,6 +29121,33 @@
2912129121
}
2912229122
}
2912329123
},
29124+
"repository-rule-params-thresholds": {
29125+
"title": "Thresholds",
29126+
"description": "This setting will not take effect unless at least one code scanning status check is enabled.",
29127+
"type": "object",
29128+
"properties": {
29129+
"code_scanning_alert_threshold": {
29130+
"type": "string",
29131+
"description": "Code scanning alert threshold",
29132+
"enum": ["none", "errors", "errors_and_warnings", "all"]
29133+
},
29134+
"code_scanning_security_alert_threshold": {
29135+
"type": "string",
29136+
"description": "Code scanning security alert threshold.",
29137+
"enum": [
29138+
"none",
29139+
"critical",
29140+
"high_or_higher",
29141+
"medium_or_higher",
29142+
"all"
29143+
]
29144+
}
29145+
},
29146+
"required": [
29147+
"code_scanning_alert_threshold",
29148+
"code_scanning_security_alert_threshold"
29149+
]
29150+
},
2912429151
"repository-rule": {
2912529152
"title": "Repository Rule",
2912629153
"type": "object",

0 commit comments

Comments
 (0)