|
16092 | 16092 | "name": "Epic", |
16093 | 16093 | "description": "An issue type for a multi-week tracking of work", |
16094 | 16094 | "is_enabled": true, |
16095 | | - "color": "green", |
16096 | | - "is_private": true |
| 16095 | + "color": "green" |
16097 | 16096 | } |
16098 | 16097 | } |
16099 | 16098 | } |
|
16164 | 16163 | "name": "Epic", |
16165 | 16164 | "description": "An issue type for a multi-week tracking of work", |
16166 | 16165 | "is_enabled": true, |
16167 | | - "color": "green", |
16168 | | - "is_private": true |
| 16166 | + "color": "green" |
16169 | 16167 | } |
16170 | 16168 | } |
16171 | 16169 | } |
@@ -109849,6 +109847,128 @@ |
109849 | 109847 | } |
109850 | 109848 | } |
109851 | 109849 | }, |
| 109850 | + "repository-rule-file-path-restriction": { |
| 109851 | + "title": "file_path_restriction", |
| 109852 | + "description": "Prevent commits that include changes in specified file paths from being pushed to the commit graph.", |
| 109853 | + "type": "object", |
| 109854 | + "required": [ |
| 109855 | + "type" |
| 109856 | + ], |
| 109857 | + "properties": { |
| 109858 | + "type": { |
| 109859 | + "type": "string", |
| 109860 | + "enum": [ |
| 109861 | + "file_path_restriction" |
| 109862 | + ] |
| 109863 | + }, |
| 109864 | + "parameters": { |
| 109865 | + "type": "object", |
| 109866 | + "properties": { |
| 109867 | + "restricted_file_paths": { |
| 109868 | + "type": "array", |
| 109869 | + "description": "The file paths that are restricted from being pushed to the commit graph.", |
| 109870 | + "items": { |
| 109871 | + "type": "string" |
| 109872 | + } |
| 109873 | + } |
| 109874 | + }, |
| 109875 | + "required": [ |
| 109876 | + "restricted_file_paths" |
| 109877 | + ] |
| 109878 | + } |
| 109879 | + } |
| 109880 | + }, |
| 109881 | + "repository-rule-max-file-path-length": { |
| 109882 | + "title": "max_file_path_length", |
| 109883 | + "description": "Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", |
| 109884 | + "type": "object", |
| 109885 | + "required": [ |
| 109886 | + "type" |
| 109887 | + ], |
| 109888 | + "properties": { |
| 109889 | + "type": { |
| 109890 | + "type": "string", |
| 109891 | + "enum": [ |
| 109892 | + "max_file_path_length" |
| 109893 | + ] |
| 109894 | + }, |
| 109895 | + "parameters": { |
| 109896 | + "type": "object", |
| 109897 | + "properties": { |
| 109898 | + "max_file_path_length": { |
| 109899 | + "type": "integer", |
| 109900 | + "description": "The maximum amount of characters allowed in file paths", |
| 109901 | + "minimum": 1, |
| 109902 | + "maximum": 256 |
| 109903 | + } |
| 109904 | + }, |
| 109905 | + "required": [ |
| 109906 | + "max_file_path_length" |
| 109907 | + ] |
| 109908 | + } |
| 109909 | + } |
| 109910 | + }, |
| 109911 | + "repository-rule-file-extension-restriction": { |
| 109912 | + "title": "file_extension_restriction", |
| 109913 | + "description": "Prevent commits that include files with specified file extensions from being pushed to the commit graph.", |
| 109914 | + "type": "object", |
| 109915 | + "required": [ |
| 109916 | + "type" |
| 109917 | + ], |
| 109918 | + "properties": { |
| 109919 | + "type": { |
| 109920 | + "type": "string", |
| 109921 | + "enum": [ |
| 109922 | + "file_extension_restriction" |
| 109923 | + ] |
| 109924 | + }, |
| 109925 | + "parameters": { |
| 109926 | + "type": "object", |
| 109927 | + "properties": { |
| 109928 | + "restricted_file_extensions": { |
| 109929 | + "type": "array", |
| 109930 | + "description": "The file extensions that are restricted from being pushed to the commit graph.", |
| 109931 | + "items": { |
| 109932 | + "type": "string" |
| 109933 | + } |
| 109934 | + } |
| 109935 | + }, |
| 109936 | + "required": [ |
| 109937 | + "restricted_file_extensions" |
| 109938 | + ] |
| 109939 | + } |
| 109940 | + } |
| 109941 | + }, |
| 109942 | + "repository-rule-max-file-size": { |
| 109943 | + "title": "max_file_size", |
| 109944 | + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.", |
| 109945 | + "type": "object", |
| 109946 | + "required": [ |
| 109947 | + "type" |
| 109948 | + ], |
| 109949 | + "properties": { |
| 109950 | + "type": { |
| 109951 | + "type": "string", |
| 109952 | + "enum": [ |
| 109953 | + "max_file_size" |
| 109954 | + ] |
| 109955 | + }, |
| 109956 | + "parameters": { |
| 109957 | + "type": "object", |
| 109958 | + "properties": { |
| 109959 | + "max_file_size": { |
| 109960 | + "type": "integer", |
| 109961 | + "description": "The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).", |
| 109962 | + "minimum": 1, |
| 109963 | + "maximum": 100 |
| 109964 | + } |
| 109965 | + }, |
| 109966 | + "required": [ |
| 109967 | + "max_file_size" |
| 109968 | + ] |
| 109969 | + } |
| 109970 | + } |
| 109971 | + }, |
109852 | 109972 | "repository-rule-params-restricted-commits": { |
109853 | 109973 | "title": "RestrictedCommits", |
109854 | 109974 | "description": "Restricted commit", |
@@ -110048,126 +110168,16 @@ |
110048 | 110168 | "$ref": "#/components/schemas/repository-rule-tag-name-pattern" |
110049 | 110169 | }, |
110050 | 110170 | { |
110051 | | - "title": "file_path_restriction", |
110052 | | - "description": "Prevent commits that include changes in specified file paths from being pushed to the commit graph.", |
110053 | | - "type": "object", |
110054 | | - "required": [ |
110055 | | - "type" |
110056 | | - ], |
110057 | | - "properties": { |
110058 | | - "type": { |
110059 | | - "type": "string", |
110060 | | - "enum": [ |
110061 | | - "file_path_restriction" |
110062 | | - ] |
110063 | | - }, |
110064 | | - "parameters": { |
110065 | | - "type": "object", |
110066 | | - "properties": { |
110067 | | - "restricted_file_paths": { |
110068 | | - "type": "array", |
110069 | | - "description": "The file paths that are restricted from being pushed to the commit graph.", |
110070 | | - "items": { |
110071 | | - "type": "string" |
110072 | | - } |
110073 | | - } |
110074 | | - }, |
110075 | | - "required": [ |
110076 | | - "restricted_file_paths" |
110077 | | - ] |
110078 | | - } |
110079 | | - } |
| 110171 | + "$ref": "#/components/schemas/repository-rule-file-path-restriction" |
110080 | 110172 | }, |
110081 | 110173 | { |
110082 | | - "title": "max_file_path_length", |
110083 | | - "description": "Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", |
110084 | | - "type": "object", |
110085 | | - "required": [ |
110086 | | - "type" |
110087 | | - ], |
110088 | | - "properties": { |
110089 | | - "type": { |
110090 | | - "type": "string", |
110091 | | - "enum": [ |
110092 | | - "max_file_path_length" |
110093 | | - ] |
110094 | | - }, |
110095 | | - "parameters": { |
110096 | | - "type": "object", |
110097 | | - "properties": { |
110098 | | - "max_file_path_length": { |
110099 | | - "type": "integer", |
110100 | | - "description": "The maximum amount of characters allowed in file paths", |
110101 | | - "minimum": 1, |
110102 | | - "maximum": 256 |
110103 | | - } |
110104 | | - }, |
110105 | | - "required": [ |
110106 | | - "max_file_path_length" |
110107 | | - ] |
110108 | | - } |
110109 | | - } |
| 110174 | + "$ref": "#/components/schemas/repository-rule-max-file-path-length" |
110110 | 110175 | }, |
110111 | 110176 | { |
110112 | | - "title": "file_extension_restriction", |
110113 | | - "description": "Prevent commits that include files with specified file extensions from being pushed to the commit graph.", |
110114 | | - "type": "object", |
110115 | | - "required": [ |
110116 | | - "type" |
110117 | | - ], |
110118 | | - "properties": { |
110119 | | - "type": { |
110120 | | - "type": "string", |
110121 | | - "enum": [ |
110122 | | - "file_extension_restriction" |
110123 | | - ] |
110124 | | - }, |
110125 | | - "parameters": { |
110126 | | - "type": "object", |
110127 | | - "properties": { |
110128 | | - "restricted_file_extensions": { |
110129 | | - "type": "array", |
110130 | | - "description": "The file extensions that are restricted from being pushed to the commit graph.", |
110131 | | - "items": { |
110132 | | - "type": "string" |
110133 | | - } |
110134 | | - } |
110135 | | - }, |
110136 | | - "required": [ |
110137 | | - "restricted_file_extensions" |
110138 | | - ] |
110139 | | - } |
110140 | | - } |
| 110177 | + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" |
110141 | 110178 | }, |
110142 | 110179 | { |
110143 | | - "title": "max_file_size", |
110144 | | - "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.", |
110145 | | - "type": "object", |
110146 | | - "required": [ |
110147 | | - "type" |
110148 | | - ], |
110149 | | - "properties": { |
110150 | | - "type": { |
110151 | | - "type": "string", |
110152 | | - "enum": [ |
110153 | | - "max_file_size" |
110154 | | - ] |
110155 | | - }, |
110156 | | - "parameters": { |
110157 | | - "type": "object", |
110158 | | - "properties": { |
110159 | | - "max_file_size": { |
110160 | | - "type": "integer", |
110161 | | - "description": "The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).", |
110162 | | - "minimum": 1, |
110163 | | - "maximum": 100 |
110164 | | - } |
110165 | | - }, |
110166 | | - "required": [ |
110167 | | - "max_file_size" |
110168 | | - ] |
110169 | | - } |
110170 | | - } |
| 110180 | + "$ref": "#/components/schemas/repository-rule-max-file-size" |
110171 | 110181 | }, |
110172 | 110182 | { |
110173 | 110183 | "$ref": "#/components/schemas/repository-rule-workflows" |
@@ -127366,6 +127376,46 @@ |
127366 | 127376 | } |
127367 | 127377 | ] |
127368 | 127378 | }, |
| 127379 | + { |
| 127380 | + "allOf": [ |
| 127381 | + { |
| 127382 | + "$ref": "#/components/schemas/repository-rule-file-path-restriction" |
| 127383 | + }, |
| 127384 | + { |
| 127385 | + "$ref": "#/components/schemas/repository-rule-ruleset-info" |
| 127386 | + } |
| 127387 | + ] |
| 127388 | + }, |
| 127389 | + { |
| 127390 | + "allOf": [ |
| 127391 | + { |
| 127392 | + "$ref": "#/components/schemas/repository-rule-max-file-path-length" |
| 127393 | + }, |
| 127394 | + { |
| 127395 | + "$ref": "#/components/schemas/repository-rule-ruleset-info" |
| 127396 | + } |
| 127397 | + ] |
| 127398 | + }, |
| 127399 | + { |
| 127400 | + "allOf": [ |
| 127401 | + { |
| 127402 | + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" |
| 127403 | + }, |
| 127404 | + { |
| 127405 | + "$ref": "#/components/schemas/repository-rule-ruleset-info" |
| 127406 | + } |
| 127407 | + ] |
| 127408 | + }, |
| 127409 | + { |
| 127410 | + "allOf": [ |
| 127411 | + { |
| 127412 | + "$ref": "#/components/schemas/repository-rule-max-file-size" |
| 127413 | + }, |
| 127414 | + { |
| 127415 | + "$ref": "#/components/schemas/repository-rule-ruleset-info" |
| 127416 | + } |
| 127417 | + ] |
| 127418 | + }, |
127369 | 127419 | { |
127370 | 127420 | "allOf": [ |
127371 | 127421 | { |
|
0 commit comments