File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,39 @@ categories:
2424 - " dependencies"
2525exclude-labels :
2626 - " skip-changelog"
27+ autolabeler :
28+ - label : " documentation"
29+ files :
30+ - " **/*.md"
31+ - " docs/**"
32+ - " backstage.yaml"
33+ - label : " bug"
34+ branch :
35+ - ' /fix\/.+/'
36+ - label : " enhancement"
37+ branch :
38+ - ' /feat\/.+/'
39+ - label : " refactoring"
40+ branch :
41+ - ' /refactor\/.+/'
42+ title :
43+ - " /^refactor/i"
44+ - label : " testing"
45+ branch :
46+ - ' /test\/.+/'
47+ - label : " skip-changelog"
48+ branch :
49+ - ' /release\/.+/'
50+ - ' /chore\/.+/'
51+ - label : " breaking"
52+ title :
53+ - " /breaking change/i"
54+ - label : " ci"
55+ files :
56+ - " .github/*"
57+ - " noxfile.py"
58+ branch :
59+ - ' /ci\/.+/'
2760template : |
2861 ## Changes
2962
Original file line number Diff line number Diff line change 1+ name : Label PR
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ label_pr :
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : release-drafter/release-drafter/autolabeler@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1
14+ name : Label PR
You can’t perform that action at this time.
0 commit comments