From c763895e8db4f5e34c55d4f655500c65bb4a3e45 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 26 Jul 2024 12:11:03 -0700 Subject: [PATCH 1/3] Update OpenAPI Description (#51804) --- src/github-apps/lib/config.json | 2 +- src/rest/data/fpt-2022-11-28/schema.json | 1271 +++++++++++++- src/rest/data/ghec-2022-11-28/schema.json | 1271 +++++++++++++- .../data/ghes-3.10-2022-11-28/schema.json | 27 + .../data/ghes-3.11-2022-11-28/schema.json | 139 ++ .../data/ghes-3.12-2022-11-28/schema.json | 139 ++ .../data/ghes-3.13-2022-11-28/schema.json | 139 ++ src/rest/lib/config.json | 2 +- src/webhooks/data/fpt/schema.json | 1501 ++++++++++++++++- src/webhooks/data/ghec/schema.json | 1501 ++++++++++++++++- src/webhooks/data/ghes-3.10/schema.json | 985 ++++++++++- src/webhooks/data/ghes-3.11/schema.json | 991 +++++++++++ src/webhooks/data/ghes-3.12/schema.json | 991 +++++++++++ src/webhooks/data/ghes-3.13/schema.json | 991 +++++++++++ src/webhooks/lib/config.json | 2 +- 15 files changed, 9772 insertions(+), 180 deletions(-) diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 2169f71592de..ccaf5584e4b5 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "37a0390e4b33981fb2a4486377f64581dccc01fa" + "sha": "0ca743e504f476ef99a8cfec96171122b1d21a8d" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index f5ae65d92861..8f8276ca44cb 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -154606,7 +154606,7 @@ "type": "string", "name": "enforcement", "in": "body", - "description": "
The status of enforcement
", + "description": "The enforcement status for a security configuration
", "enum": [ "enforced", "unenforced" @@ -154661,6 +154661,7 @@ "secret_scanning_push_protection": "disabled", "secret_scanning_validity_checks": "disabled", "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", @@ -155223,6 +155224,7 @@ "secret_scanning_push_protection": "disabled", "secret_scanning_validity_checks": "disabled", "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", @@ -155526,7 +155528,7 @@ "type": "string", "name": "enforcement", "in": "body", - "description": "The status of enforcement
", + "description": "The enforcement status for a security configuration
", "enum": [ "enforced", "unenforced" @@ -155995,6 +155997,7 @@ "secret_scanning_push_protection": "disabled", "secret_scanning_validity_checks": "disabled", "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", @@ -156225,7 +156228,7 @@ }, { "name": "status", - "description": "A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
\nCan be: all
, attached
, attaching
, detached
, enforced
, failed
, updating
A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
\nCan be: all
, attached
, attaching
, detached
, removed
, enforced
, failed
, updating
, removed_by_enterprise
Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -363537,6 +363729,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -363858,7 +364055,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -363890,7 +364087,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -363922,7 +364119,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -363954,7 +364151,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -364005,6 +364202,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -364717,6 +364919,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -364831,6 +365110,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -365118,7 +365401,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -365149,7 +365432,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -365179,7 +365462,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -365210,7 +365493,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -365255,6 +365538,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -365986,6 +366273,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -366100,6 +366464,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -366387,7 +366755,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -366418,7 +366786,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -366448,7 +366816,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -366479,7 +366847,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -366524,6 +366892,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -367037,6 +367409,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -367166,6 +367615,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -367487,7 +367941,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -367519,7 +367973,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -367551,7 +368005,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -367583,7 +368037,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -367634,6 +368088,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -368347,6 +368806,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -368461,6 +368997,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -368748,7 +369288,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -368779,7 +369319,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -368809,7 +369349,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -368840,7 +369380,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -368885,6 +369425,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -488648,6 +489192,109 @@ } ] }, + { + "allOf": [ + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] + }, { "allOf": [ { @@ -488842,6 +489489,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -489326,6 +489977,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -490102,6 +490757,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -490216,6 +490948,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -490503,7 +491239,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -490534,7 +491270,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -490564,7 +491300,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -490595,7 +491331,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -490640,6 +491376,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -490991,6 +491731,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -491120,6 +491937,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -491441,7 +492263,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -491473,7 +492295,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -491505,7 +492327,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -491537,7 +492359,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -491588,6 +492410,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -492281,6 +493108,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -492395,6 +493299,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -492682,7 +493590,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -492713,7 +493621,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -492743,7 +493651,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -492774,7 +493682,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -492819,6 +493727,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -493561,6 +494473,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -493675,6 +494664,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -493962,7 +494955,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -493993,7 +494986,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -494023,7 +495016,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -494054,7 +495047,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -494099,6 +495092,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -494456,6 +495453,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -494585,6 +495659,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -494906,7 +495985,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -494938,7 +496017,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -494970,7 +496049,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -495002,7 +496081,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -495053,6 +496132,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -495747,6 +496831,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -495861,6 +497022,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -496148,7 +497313,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -496179,7 +497344,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -496209,7 +497374,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -496240,7 +497405,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -496285,6 +497450,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 02a278c240e1..0cfeae1cc463 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -165908,7 +165908,7 @@ "type": "string", "name": "enforcement", "in": "body", - "description": "The status of enforcement
", + "description": "The enforcement status for a security configuration
", "enum": [ "enforced", "unenforced" @@ -165963,6 +165963,7 @@ "secret_scanning_push_protection": "disabled", "secret_scanning_validity_checks": "disabled", "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", @@ -166525,6 +166526,7 @@ "secret_scanning_push_protection": "disabled", "secret_scanning_validity_checks": "disabled", "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", @@ -166828,7 +166830,7 @@ "type": "string", "name": "enforcement", "in": "body", - "description": "The status of enforcement
", + "description": "The enforcement status for a security configuration
", "enum": [ "enforced", "unenforced" @@ -167297,6 +167299,7 @@ "secret_scanning_push_protection": "disabled", "secret_scanning_validity_checks": "disabled", "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", @@ -167527,7 +167530,7 @@ }, { "name": "status", - "description": "A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
\nCan be: all
, attached
, attaching
, detached
, enforced
, failed
, updating
A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
\nCan be: all
, attached
, attaching
, detached
, removed
, enforced
, failed
, updating
, removed_by_enterprise
Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -387716,6 +387908,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -388037,7 +388234,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -388069,7 +388266,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -388101,7 +388298,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -388133,7 +388330,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -388184,6 +388381,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -388896,6 +389098,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -389010,6 +389289,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -389297,7 +389580,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -389328,7 +389611,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -389358,7 +389641,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -389389,7 +389672,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -389434,6 +389717,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -390165,6 +390452,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -390279,6 +390643,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -390566,7 +390934,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -390597,7 +390965,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -390627,7 +390995,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -390658,7 +391026,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -390703,6 +391071,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -391216,6 +391588,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -391345,6 +391794,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -391666,7 +392120,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -391698,7 +392152,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -391730,7 +392184,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -391762,7 +392216,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -391813,6 +392267,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -392526,6 +392985,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -392640,6 +393176,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -392927,7 +393467,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -392958,7 +393498,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -392988,7 +393528,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -393019,7 +393559,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -393064,6 +393604,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -513222,6 +513766,109 @@ } ] }, + { + "allOf": [ + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] + }, { "allOf": [ { @@ -513416,6 +514063,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -513900,6 +514551,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -514676,6 +515331,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -514790,6 +515522,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -515077,7 +515813,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -515108,7 +515844,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -515138,7 +515874,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -515169,7 +515905,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -515214,6 +515950,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -515565,6 +516305,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -515694,6 +516511,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -516015,7 +516837,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -516047,7 +516869,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -516079,7 +516901,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -516111,7 +516933,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -516162,6 +516984,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -516855,6 +517682,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -516969,6 +517873,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -517256,7 +518164,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -517287,7 +518195,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -517317,7 +518225,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -517348,7 +518256,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -517393,6 +518301,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -518135,6 +519047,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -518249,6 +519238,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -518536,7 +519529,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -518567,7 +519560,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -518597,7 +519590,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -518628,7 +519621,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -518673,6 +519666,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -519030,6 +520027,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -519159,6 +520233,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -519480,7 +520559,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -519512,7 +520591,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -519544,7 +520623,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -519576,7 +520655,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -519627,6 +520706,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -520321,6 +521405,83 @@ } } }, + { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -520435,6 +521596,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -520722,7 +521887,7 @@ }, { "title": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_path_restriction` is in beta and subject to change.\n\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -520753,7 +521918,7 @@ }, { "title": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `max_file_path_length` is in beta and subject to change.\n\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -520783,7 +521948,7 @@ }, { "title": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", + "description": "> [!NOTE]\n> `file_extension_restriction` is in beta and subject to change.\n\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.", "type": "object", "required": [ "type" @@ -520814,7 +521979,7 @@ }, { "title": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", + "description": "> [!NOTE]\n> `max_file_size` is in beta and subject to change.\n\nPrevent commits that exceed a specified file size limit from being pushed to the commit.", "type": "object", "required": [ "type" @@ -520859,6 +522024,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 3215acd0d022..ee5fb81e1711 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -276699,6 +276699,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -276727,6 +276728,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -276743,6 +276745,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -276892,6 +276895,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -276920,6 +276924,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -276936,6 +276941,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277089,6 +277095,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277117,6 +277124,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277133,6 +277141,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277362,6 +277371,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277390,6 +277400,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277406,6 +277417,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277550,6 +277562,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277578,6 +277591,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277594,6 +277608,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277724,6 +277739,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277752,6 +277768,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277768,6 +277785,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277886,6 +277904,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277914,6 +277933,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277930,6 +277950,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -278068,6 +278089,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -278096,6 +278118,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -278112,6 +278135,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -278330,6 +278354,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -278358,6 +278383,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -278374,6 +278400,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 70b8fab252e5..f6c86786d085 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -276764,6 +276764,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -276792,6 +276793,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -276808,6 +276810,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -276957,6 +276960,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -276985,6 +276989,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277001,6 +277006,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277154,6 +277160,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277182,6 +277189,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277198,6 +277206,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277427,6 +277436,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277455,6 +277465,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277471,6 +277482,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277615,6 +277627,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277643,6 +277656,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277659,6 +277673,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277789,6 +277804,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277817,6 +277833,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277833,6 +277850,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -277951,6 +277969,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -277979,6 +277998,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -277995,6 +278015,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -278133,6 +278154,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -278161,6 +278183,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -278177,6 +278200,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -278395,6 +278419,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -278423,6 +278448,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -278439,6 +278465,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -329303,6 +329330,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -329605,6 +329636,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -330084,6 +330119,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -330424,6 +330464,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -331065,6 +331110,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -331367,6 +331416,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -332027,6 +332080,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -332329,6 +332386,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -332814,6 +332875,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -333154,6 +333220,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -333796,6 +333867,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -334098,6 +334173,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -451764,6 +451843,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -452248,6 +452331,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -452927,6 +453014,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -453229,6 +453320,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -453643,6 +453738,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -453983,6 +454083,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -454605,6 +454710,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -454907,6 +455016,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -455578,6 +455691,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -455880,6 +455997,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -456300,6 +456421,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -456640,6 +456766,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -457263,6 +457394,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -457565,6 +457700,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index 76f623ba4218..086e8b13776c 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -279001,6 +279001,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279029,6 +279030,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279045,6 +279047,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -279194,6 +279197,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279222,6 +279226,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279238,6 +279243,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -279391,6 +279397,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279419,6 +279426,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279435,6 +279443,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -279664,6 +279673,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279692,6 +279702,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279708,6 +279719,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -279852,6 +279864,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279880,6 +279893,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279896,6 +279910,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280026,6 +280041,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280054,6 +280070,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280070,6 +280087,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280188,6 +280206,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280216,6 +280235,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280232,6 +280252,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280370,6 +280391,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280398,6 +280420,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280414,6 +280437,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280632,6 +280656,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280660,6 +280685,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280676,6 +280702,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -332168,6 +332195,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -332470,6 +332501,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -332949,6 +332984,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -333289,6 +333329,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -333930,6 +333975,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -334232,6 +334281,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -334892,6 +334945,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -335194,6 +335251,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -335679,6 +335740,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -336019,6 +336085,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -336661,6 +336732,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -336963,6 +337038,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -455146,6 +455225,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -455630,6 +455713,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -456309,6 +456396,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -456611,6 +456702,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -457025,6 +457120,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -457365,6 +457465,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -457987,6 +458092,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -458289,6 +458398,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -458960,6 +459073,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -459262,6 +459379,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -459682,6 +459803,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -460022,6 +460148,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -460645,6 +460776,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -460947,6 +461082,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json index 2bd1833f9249..35a8f351e9df 100644 --- a/src/rest/data/ghes-3.13-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json @@ -279201,6 +279201,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279229,6 +279230,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279245,6 +279247,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -279394,6 +279397,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279422,6 +279426,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279438,6 +279443,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -279591,6 +279597,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279619,6 +279626,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279635,6 +279643,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -279864,6 +279873,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -279892,6 +279902,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -279908,6 +279919,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280052,6 +280064,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280080,6 +280093,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280096,6 +280110,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280226,6 +280241,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280254,6 +280270,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280270,6 +280287,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280388,6 +280406,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280416,6 +280435,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280432,6 +280452,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280570,6 +280591,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280598,6 +280620,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280614,6 +280637,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -280832,6 +280856,7 @@ "type": "object", "properties": { "id": { + "description": "Unique identifier for the label.", "type": "integer", "format": "int64", "examples": [ @@ -280860,6 +280885,7 @@ ] }, "description": { + "description": "Optional description of the label, such as its purpose.", "type": [ "string", "null" @@ -280876,6 +280902,7 @@ ] }, "default": { + "description": "Whether this label comes by default in a new repository.", "type": "boolean", "examples": [ true @@ -333759,6 +333786,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -334061,6 +334092,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -334632,6 +334667,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -334972,6 +335012,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -335730,6 +335775,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -336032,6 +336081,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -336809,6 +336862,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -337111,6 +337168,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -337688,6 +337749,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -338028,6 +338094,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -338787,6 +338858,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -339089,6 +339164,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -457725,6 +457804,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -458209,6 +458292,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -459005,6 +459092,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -459307,6 +459398,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -459722,6 +459817,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -460062,6 +460162,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -460801,6 +460906,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -461103,6 +461212,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -461891,6 +462004,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -462193,6 +462310,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", @@ -462614,6 +462735,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -462954,6 +463080,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -463694,6 +463825,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "required_status_checks": { "type": "array", "description": "Status checks that are required.", @@ -463996,6 +464131,10 @@ "parameters": { "type": "object", "properties": { + "do_not_enforce_on_create": { + "type": "boolean", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." + }, "workflows": { "type": "array", "description": "Workflows that must pass for this rule to pass.", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index bedb31784304..d9e91bc7eee4 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -44,5 +44,5 @@ ] } }, - "sha": "37a0390e4b33981fb2a4486377f64581dccc01fa" + "sha": "0ca743e504f476ef99a8cfec96171122b1d21a8d" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 996f2a42fdda..2ce40c7a966c 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -32030,6 +32030,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32689,6 +32738,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33264,6 +33362,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33839,6 +33986,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -34414,6 +34610,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35023,6 +35268,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35598,6 +35892,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36224,6 +36567,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36799,6 +37191,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -37374,6 +37815,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -37955,6 +38445,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -39978,6 +40517,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40553,6 +41141,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -41385,6 +42022,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42011,6 +42697,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42586,6 +43321,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -43436,6 +44220,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -44284,6 +45117,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -45155,6 +46037,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -202556,6 +203487,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -202685,6 +203693,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -203006,7 +204019,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -203038,7 +204051,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -203070,7 +204083,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -203102,7 +204115,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -203153,6 +204166,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -203562,6 +204580,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -203691,6 +204786,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -204012,7 +205112,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -204044,7 +205144,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -204076,7 +205176,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -204108,7 +205208,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -204159,6 +205259,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -204568,6 +205673,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -204697,6 +205879,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -205018,7 +206205,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -205050,7 +206237,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -205082,7 +206269,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -205114,7 +206301,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -205165,6 +206352,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -205549,6 +206741,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -205678,6 +206947,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -205999,7 +207273,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206031,7 +207305,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206063,7 +207337,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206095,7 +207369,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -206146,6 +207420,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -206342,6 +207621,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -206471,6 +207827,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -206792,7 +208153,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206824,7 +208185,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206856,7 +208217,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206888,7 +208249,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -206939,6 +208300,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -207140,6 +208506,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -207269,6 +208712,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -207590,7 +209038,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -207622,7 +209070,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -207654,7 +209102,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -207686,7 +209134,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -207737,6 +209185,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 7a6c2b0704fc..586dd94c63e0 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -34364,6 +34364,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35023,6 +35072,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35598,6 +35696,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36173,6 +36320,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36748,6 +36944,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -37357,6 +37602,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -37932,6 +38226,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -38558,6 +38901,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -39133,6 +39525,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -39708,6 +40149,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40289,6 +40779,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42312,6 +42851,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42887,6 +43475,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -43719,6 +44356,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -44345,6 +45031,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -44920,6 +45655,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -45770,6 +46554,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -46618,6 +47451,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -47489,6 +48371,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -204890,6 +205821,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -205019,6 +206027,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -205340,7 +206353,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -205372,7 +206385,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -205404,7 +206417,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -205436,7 +206449,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -205487,6 +206500,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -205896,6 +206914,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -206025,6 +207120,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -206346,7 +207446,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206378,7 +207478,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206410,7 +207510,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -206442,7 +207542,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -206493,6 +207593,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -206902,6 +208007,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -207031,6 +208213,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -207352,7 +208539,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -207384,7 +208571,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -207416,7 +208603,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -207448,7 +208635,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -207499,6 +208686,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -207883,6 +209075,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -208012,6 +209281,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -208333,7 +209607,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -208365,7 +209639,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -208397,7 +209671,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -208429,7 +209703,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -208480,6 +209754,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -208676,6 +209955,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -208805,6 +210161,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -209126,7 +210487,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -209158,7 +210519,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -209190,7 +210551,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -209222,7 +210583,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -209273,6 +210634,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -209474,6 +210840,83 @@ } ] }, + { + "type": "object", + "name": "merge_queue", + "description": "Merges must be performed via a merge queue.
", + "isRequired": [ + "type" + ], + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true, + "enum": [ + "merge_queue" + ] + }, + { + "type": "object", + "name": "parameters", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "check_response_timeout_minutes", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed
", + "isRequired": true + }, + { + "type": "string", + "name": "grouping_strategy", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.
", + "isRequired": true, + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + { + "type": "integer", + "name": "max_entries_to_build", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.
", + "isRequired": true + }, + { + "type": "integer", + "name": "max_entries_to_merge", + "description": "The maximum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "string", + "name": "merge_method", + "description": "Method to use when merging changes from queued pull requests.
", + "isRequired": true, + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + { + "type": "integer", + "name": "min_entries_to_merge", + "description": "The minimum number of PRs that will be merged together in a group.
", + "isRequired": true + }, + { + "type": "integer", + "name": "min_entries_to_merge_wait_minutes", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.
", + "isRequired": true + } + ] + } + ] + }, { "type": "object", "name": "required_deployments", @@ -209603,6 +211046,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -209924,7 +211372,7 @@ { "type": "object", "name": "file_path_restriction", - "description": "Note: file_path_restriction is in beta and subject to change.
\nPrevent commits that include changes in specified file paths from being pushed to the commit graph.
", + "description": "Note
\n\nfile_path_restriction
is in beta and subject to change.
Prevent commits that include changes in specified file paths from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -209956,7 +211404,7 @@ { "type": "object", "name": "max_file_path_length", - "description": "Note: max_file_path_length is in beta and subject to change.
\nPrevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", + "description": "Note
\n\nmax_file_path_length
is in beta and subject to change.
Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -209988,7 +211436,7 @@ { "type": "object", "name": "file_extension_restriction", - "description": "Note: file_extension_restriction is in beta and subject to change.
\nPrevent commits that include files with specified file extensions from being pushed to the commit graph.
", + "description": "Note
\n\nfile_extension_restriction
is in beta and subject to change.
Prevent commits that include files with specified file extensions from being pushed to the commit graph.
", "isRequired": [ "type" ], @@ -210020,7 +211468,7 @@ { "type": "object", "name": "max_file_size", - "description": "Note: max_file_size is in beta and subject to change.
\nPrevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Note
\n\nmax_file_size
is in beta and subject to change.
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", "isRequired": [ "type" ], @@ -210071,6 +211519,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", diff --git a/src/webhooks/data/ghes-3.10/schema.json b/src/webhooks/data/ghes-3.10/schema.json index 954aa4329f04..afec7bf6ee01 100644 --- a/src/webhooks/data/ghes-3.10/schema.json +++ b/src/webhooks/data/ghes-3.10/schema.json @@ -30285,6 +30285,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -30944,6 +30993,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -31519,6 +31617,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32094,6 +32241,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32669,6 +32865,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33278,6 +33523,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33853,6 +34147,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -34479,6 +34822,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35030,28 +35422,77 @@ }, { "type": "string", - "name": "starred_url", - "description": "" + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + } + ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true }, { - "type": "string", - "name": "subscriptions_url", - "description": "" + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true }, { "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true }, { - "type": "string", - "name": "url", - "description": "" + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true } ] } @@ -35629,6 +36070,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36210,6 +36700,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -38228,6 +38767,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -38803,6 +39391,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -39616,23 +40253,72 @@ }, { "type": "string", - "name": "subscriptions_url", - "description": "" + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + } + ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true }, { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true }, { "type": "string", - "name": "url", - "description": "" + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true } ] } @@ -40261,6 +40947,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40836,6 +41571,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -41686,6 +42470,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42534,6 +43367,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -43405,6 +44287,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, diff --git a/src/webhooks/data/ghes-3.11/schema.json b/src/webhooks/data/ghes-3.11/schema.json index 97b6c8e54722..17abf10a5b88 100644 --- a/src/webhooks/data/ghes-3.11/schema.json +++ b/src/webhooks/data/ghes-3.11/schema.json @@ -30409,6 +30409,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -31068,6 +31117,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -31643,6 +31741,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32218,6 +32365,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32793,6 +32989,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33402,6 +33647,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33977,6 +34271,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -34603,6 +34946,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35178,6 +35570,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35753,6 +36194,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36334,6 +36824,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -38352,6 +38891,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -38927,6 +39515,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -39759,6 +40396,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40385,6 +41071,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40960,6 +41695,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -41810,6 +42594,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42658,6 +43491,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -43529,6 +44411,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -188448,6 +189379,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -188788,6 +189724,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -189260,6 +190201,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -189600,6 +190546,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -190072,6 +191023,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -190412,6 +191368,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -190860,6 +191821,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -191200,6 +192166,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -191460,6 +192431,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -191800,6 +192776,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -192065,6 +193046,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -192405,6 +193391,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", diff --git a/src/webhooks/data/ghes-3.12/schema.json b/src/webhooks/data/ghes-3.12/schema.json index ea1319284304..631ce94d7406 100644 --- a/src/webhooks/data/ghes-3.12/schema.json +++ b/src/webhooks/data/ghes-3.12/schema.json @@ -31573,6 +31573,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32232,6 +32281,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32807,6 +32905,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33382,6 +33529,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33957,6 +34153,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -34566,6 +34811,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35141,6 +35435,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35767,6 +36110,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36342,6 +36734,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36917,6 +37358,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -37498,6 +37988,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -39516,6 +40055,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40091,6 +40679,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40923,6 +41560,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -41549,6 +42235,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42124,6 +42859,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42974,6 +43758,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -43822,6 +44655,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -44693,6 +45575,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -189612,6 +190543,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -189952,6 +190888,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -190424,6 +191365,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -190764,6 +191710,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -191236,6 +192187,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -191576,6 +192532,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -192024,6 +192985,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -192364,6 +193330,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -192624,6 +193595,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -192964,6 +193940,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -193229,6 +194210,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -193569,6 +194555,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", diff --git a/src/webhooks/data/ghes-3.13/schema.json b/src/webhooks/data/ghes-3.13/schema.json index f981db7e4c52..3590cdd05e34 100644 --- a/src/webhooks/data/ghes-3.13/schema.json +++ b/src/webhooks/data/ghes-3.13/schema.json @@ -31573,6 +31573,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32232,6 +32281,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -32807,6 +32905,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33382,6 +33529,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -33957,6 +34153,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -34566,6 +34811,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35141,6 +35435,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -35767,6 +36110,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36342,6 +36734,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -36917,6 +37358,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -37498,6 +37988,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -39521,6 +40060,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40096,6 +40684,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -40928,6 +41565,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -41554,6 +42240,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42129,6 +42864,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -42979,6 +43763,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -43827,6 +44660,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -44698,6 +45580,55 @@ "description": "" } ] + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier for the label.
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "URL for the label
", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the label.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "Optional description of the label, such as its purpose.
", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color
", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "Whether this label comes by default in a new repository.
", + "isRequired": true + } + ] } ] }, @@ -189628,6 +190559,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -189968,6 +190904,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -190441,6 +191382,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -190781,6 +191727,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -191254,6 +192205,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -191594,6 +192550,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -192042,6 +193003,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -192382,6 +193348,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -192642,6 +193613,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -192982,6 +193958,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", @@ -193247,6 +194228,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "required_status_checks", @@ -193587,6 +194573,11 @@ "name": "parameters", "description": "", "childParamsGroups": [ + { + "type": "boolean", + "name": "do_not_enforce_on_create", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.
" + }, { "type": "array of objects", "name": "workflows", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 551a2f92ac8f..2899fb486ba3 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "37a0390e4b33981fb2a4486377f64581dccc01fa" + "sha": "0ca743e504f476ef99a8cfec96171122b1d21a8d" } \ No newline at end of file From e9e96c27e1242f3cc0f97b2ec28903348c3c8827 Mon Sep 17 00:00:00 2001 From: Cory Calahan