|
2134 | 2134 | } |
2135 | 2135 | }, |
2136 | 2136 | "filters": { |
2137 | | - "type": "object", |
2138 | | - "markdownDescription": "This is similar to to other `filters` in config, but has an additional key, `tags`", |
2139 | | - "properties": { |
2140 | | - "branches": { |
| 2137 | + "markdownDescription": "https://circleci.com/docs/reference/configuration-reference/#jobfilters \n\n A map or string to define filtering rules for job execution. Branch and tag filters require a map. Expression-based filters require a string.", |
| 2138 | + "oneOf": [ |
| 2139 | + { |
2141 | 2140 | "type": "object", |
2142 | | - "markdownDescription": "A map defining rules for execution on specific branches", |
2143 | 2141 | "properties": { |
2144 | | - "only": { |
2145 | | - "oneOf": [ |
2146 | | - { |
2147 | | - "type": "string" |
| 2142 | + "branches": { |
| 2143 | + "type": "object", |
| 2144 | + "markdownDescription": "A map defining rules for execution on specific branches", |
| 2145 | + "properties": { |
| 2146 | + "only": { |
| 2147 | + "oneOf": [ |
| 2148 | + { |
| 2149 | + "type": "string" |
| 2150 | + }, |
| 2151 | + { |
| 2152 | + "type": "array", |
| 2153 | + "items": { |
| 2154 | + "type": "string" |
| 2155 | + } |
| 2156 | + } |
| 2157 | + ], |
| 2158 | + "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" |
2148 | 2159 | }, |
2149 | | - { |
2150 | | - "type": "array", |
2151 | | - "items": { |
2152 | | - "type": "string" |
2153 | | - } |
| 2160 | + "ignore": { |
| 2161 | + "oneOf": [ |
| 2162 | + { |
| 2163 | + "type": "string" |
| 2164 | + }, |
| 2165 | + { |
| 2166 | + "type": "array", |
| 2167 | + "items": { |
| 2168 | + "type": "string" |
| 2169 | + } |
| 2170 | + } |
| 2171 | + ], |
| 2172 | + "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" |
2154 | 2173 | } |
2155 | | - ], |
2156 | | - "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" |
| 2174 | + }, |
| 2175 | + "additionalProperties": false |
2157 | 2176 | }, |
2158 | | - "ignore": { |
2159 | | - "oneOf": [ |
2160 | | - { |
2161 | | - "type": "string" |
| 2177 | + "tags": { |
| 2178 | + "type": "object", |
| 2179 | + "markdownDescription": "A map defining rules for execution on specific tags", |
| 2180 | + "properties": { |
| 2181 | + "only": { |
| 2182 | + "oneOf": [ |
| 2183 | + { |
| 2184 | + "type": "string" |
| 2185 | + }, |
| 2186 | + { |
| 2187 | + "type": "array", |
| 2188 | + "items": { |
| 2189 | + "type": "string" |
| 2190 | + } |
| 2191 | + } |
| 2192 | + ], |
| 2193 | + "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" |
2162 | 2194 | }, |
2163 | | - { |
2164 | | - "type": "array", |
2165 | | - "items": { |
2166 | | - "type": "string" |
2167 | | - } |
| 2195 | + "ignore": { |
| 2196 | + "oneOf": [ |
| 2197 | + { |
| 2198 | + "type": "string" |
| 2199 | + }, |
| 2200 | + { |
| 2201 | + "type": "array", |
| 2202 | + "items": { |
| 2203 | + "type": "string" |
| 2204 | + } |
| 2205 | + } |
| 2206 | + ], |
| 2207 | + "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" |
2168 | 2208 | } |
2169 | | - ], |
2170 | | - "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" |
| 2209 | + }, |
| 2210 | + "additionalProperties": false |
2171 | 2211 | } |
2172 | | - }, |
2173 | | - "additionalProperties": false |
| 2212 | + } |
2174 | 2213 | }, |
2175 | | - "tags": { |
2176 | | - "type": "object", |
2177 | | - "markdownDescription": "A map defining rules for execution on specific tags", |
2178 | | - "properties": { |
2179 | | - "only": { |
2180 | | - "oneOf": [ |
2181 | | - { |
2182 | | - "type": "string" |
2183 | | - }, |
2184 | | - { |
2185 | | - "type": "array", |
2186 | | - "items": { |
2187 | | - "type": "string" |
2188 | | - } |
2189 | | - } |
2190 | | - ], |
2191 | | - "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" |
2192 | | - }, |
2193 | | - "ignore": { |
2194 | | - "oneOf": [ |
2195 | | - { |
2196 | | - "type": "string" |
2197 | | - }, |
2198 | | - { |
2199 | | - "type": "array", |
2200 | | - "items": { |
2201 | | - "type": "string" |
2202 | | - } |
2203 | | - } |
2204 | | - ], |
2205 | | - "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" |
2206 | | - } |
2207 | | - }, |
2208 | | - "additionalProperties": false |
| 2214 | + { |
| 2215 | + "type": "string" |
2209 | 2216 | } |
2210 | | - }, |
2211 | | - "additionalProperties": false |
| 2217 | + ] |
2212 | 2218 | }, |
2213 | 2219 | "context": { |
2214 | 2220 | "oneOf": [ |
|
0 commit comments