Skip to content

Commit

Permalink
WIP: schema updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Octokit Bot committed Mar 6, 2024
1 parent 886e1cf commit e372529
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 0 deletions.
27 changes: 27 additions & 0 deletions cache/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
27 changes: 27 additions & 0 deletions cache/ghec.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
27 changes: 27 additions & 0 deletions cache/ghes-3.11.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
27 changes: 27 additions & 0 deletions cache/ghes-3.12.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e372529

Please sign in to comment.