Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Adds repository-rule-params-thresholds, repository-rule.role_name, created.git-ref-only #87

Merged
merged 2 commits into from Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 43 additions & 0 deletions cache/api.github.com.json
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 Expand Up @@ -70440,11 +70467,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -163948,6 +163982,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"since-user": {
"name": "since",
"description": "A user ID. Only return users with an ID greater than this ID.",
Expand Down
43 changes: 43 additions & 0 deletions cache/ghec.json
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 Expand Up @@ -72185,11 +72212,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -166716,6 +166750,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"since-user": {
"name": "since",
"description": "A user ID. Only return users with an ID greater than this ID.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.10.json
Expand Up @@ -68197,11 +68197,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -155099,6 +155106,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
43 changes: 43 additions & 0 deletions cache/ghes-3.11.json
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 Expand Up @@ -69723,11 +69750,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -157149,6 +157183,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
43 changes: 43 additions & 0 deletions cache/ghes-3.12.json
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 Expand Up @@ -70580,11 +70607,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -158364,6 +158398,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.8.json
Expand Up @@ -65912,11 +65912,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -151507,6 +151514,15 @@
"description": "The unique identifier of the branch policy.",
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.9.json
Expand Up @@ -67264,11 +67264,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -153692,6 +153699,15 @@
"description": "The unique identifier of the branch policy.",
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down