|
| 1 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 2 | +# you may not use this file except in compliance with the License. |
| 3 | +# You may obtain a copy of the License at |
| 4 | +# |
| 5 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | +# |
| 7 | +# Unless required by applicable law or agreed to in writing, software |
| 8 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 9 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 10 | +# See the License for the specific language governing permissions and |
| 11 | +# limitations under the License. |
| 12 | + |
| 13 | +version: 1 |
| 14 | +appendOnly: true |
| 15 | +# Labels are applied based on conventional commits standard |
| 16 | +# https://www.conventionalcommits.org/en/v1.0.0/ |
| 17 | +# These labels are later used in release notes. See .github/release.yml |
| 18 | +labels: |
| 19 | +# If the PR title has an ! before the : it will be considered a breaking change |
| 20 | +# For example, `feat!: add new feature` will be considered a breaking change |
| 21 | +- label: breaking-change |
| 22 | + title: "^[^:]+!:.*" |
| 23 | +- label: breaking-change |
| 24 | + body: "BREAKING CHANGE" |
| 25 | +- label: enhancement |
| 26 | + title: "^feat(\\(.+\\))?!?:.*" |
| 27 | +- label: bug |
| 28 | + title: "^fix(\\(.+\\))?!?:.*" |
| 29 | +- label: documentation |
| 30 | + title: "^docs(\\(.+\\))?!?:.*" |
| 31 | +- label: performance |
| 32 | + title: "^perf(\\(.+\\))?!?:.*" |
| 33 | +- label: ci |
| 34 | + title: "^ci(\\(.+\\))?!?:.*" |
| 35 | +- label: chore |
| 36 | + title: "^(chore|test|build|style)(\\(.+\\))?!?:.*" |
| 37 | +- label: java |
| 38 | + files: |
| 39 | + - "java\\/.*" |
| 40 | +- label: python |
| 41 | + files: |
| 42 | + - "python\\/.*" |
| 43 | +- label: docs |
| 44 | + files: |
| 45 | + - "docs\\/.*" |
0 commit comments