|
1 | 1 | version: 1
|
| 2 | + |
2 | 3 | labels:
|
3 |
| - - label: "TestLabel" |
4 |
| - title: ".*" |
5 |
| - - label: "TestFileMatch" |
6 |
| - files: |
7 |
| - - "cmd/.*.go" |
8 |
| - - "pkg/.*.go" |
9 |
| - |
| 4 | + # Type: Build-related changes |
| 5 | + - label: "@type/build" |
| 6 | + title: '^build(?:\(.+\))?\!?:' |
| 7 | + |
| 8 | + # Type: CI-related changes |
| 9 | + - label: "@type/ci" |
| 10 | + title: '^ci(?:\(.+\))?\!?:' |
| 11 | + files: |
| 12 | + - '\.github/.+' |
| 13 | + |
| 14 | + # Type: Documentation changes |
| 15 | + - label: "@type/docs" |
| 16 | + title: '^docs(?:\(.+\))?\!?:' |
| 17 | + files: |
| 18 | + - "docs/.+" |
| 19 | + - "**/*.md" |
| 20 | + |
| 21 | + # Type: New feature |
| 22 | + - label: "@type/feature" |
| 23 | + title: '^feat(?:\(.+\))?\!?:' |
| 24 | + |
| 25 | + # Type: Bug fix |
| 26 | + - label: "@type/fix" |
| 27 | + title: '^fix(?:\(.+\))?\!?:' |
| 28 | + |
| 29 | + # Type: Improvements such as style changes, refactoring, or performance improvements |
| 30 | + - label: "@type/improve" |
| 31 | + title: '^(style|refactor|perf)(?:\(.+\))?\!?:' |
| 32 | + |
| 33 | + # Type: Dependency changes |
| 34 | + - label: "@type/dependency" |
| 35 | + title: '^(chore|build)(?:\(deps\))?\!?:' |
| 36 | + |
| 37 | + # Type: Test-related changes |
| 38 | + - label: "@type/test" |
| 39 | + title: '^test(?:\(.+\))?\!?:' |
| 40 | + files: |
| 41 | + - "tests/.+" |
| 42 | + - "spec/.+" |
| 43 | + |
| 44 | + # Type: Security-related changes |
| 45 | + - label: "@type/security" |
| 46 | + title: '^security(?:\(.+\))?\!?:' |
| 47 | + files: |
| 48 | + - "**/security/.+" |
| 49 | + |
| 50 | + # Issue Type Only: Feature Request |
| 51 | + - label: "Feature Request" |
| 52 | + type: issue |
| 53 | + title: "^Feature Request:" |
| 54 | + |
| 55 | + # Issue Type Only: Documentation |
| 56 | + - label: "Documentation" |
| 57 | + type: issue |
| 58 | + title: "^.*(\b[Dd]ocumentation|doc(s)?\b).*" |
| 59 | + |
| 60 | + # Issue Type Only: Bug Report |
| 61 | + - label: "Bug Report" |
| 62 | + type: issue |
| 63 | + title: "^.*(\b[Bb]ug|b(u)?g(s)?\b).*" |
0 commit comments