File tree Expand file tree Collapse file tree 4 files changed +108
-0
lines changed Expand file tree Collapse file tree 4 files changed +108
-0
lines changed Original file line number Diff line number Diff line change 27179
27179
}
27180
27180
}
27181
27181
},
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
+ },
27182
27209
"repository-rule": {
27183
27210
"title": "Repository Rule",
27184
27211
"type": "object",
Original file line number Diff line number Diff line change 28302
28302
}
28303
28303
}
28304
28304
},
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
+ },
28305
28332
"repository-rule": {
28306
28333
"title": "Repository Rule",
28307
28334
"type": "object",
Original file line number Diff line number Diff line change 28471
28471
}
28472
28472
}
28473
28473
},
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
+ },
28474
28501
"repository-rule": {
28475
28502
"title": "Repository Rule",
28476
28503
"type": "object",
Original file line number Diff line number Diff line change 29121
29121
}
29122
29122
}
29123
29123
},
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
+ },
29124
29151
"repository-rule": {
29125
29152
"title": "Repository Rule",
29126
29153
"type": "object",
You can’t perform that action at this time.
0 commit comments