Skip to content

Commit c4c5162

Browse files
authored
update labels (#10)
* update labels * remove wip step. i believe it was causing the extra feature label
1 parent bbe8cca commit c4c5162

File tree

4 files changed

+27
-23
lines changed

4 files changed

+27
-23
lines changed

.github/labels.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,31 +68,31 @@
6868
"color": "#e11d21"
6969
},
7070
{
71-
"name": "type:bug",
71+
"name": "bug",
7272
"color": "#d73a4a"
7373
},
7474
{
75-
"name": "type:documentation",
75+
"name": "documentation",
7676
"color": "#0075ca"
7777
},
7878
{
79-
"name": "type:duplicate",
79+
"name": "duplicate",
8080
"color": "#cfd3d7"
8181
},
8282
{
83-
"name": "type:feature",
83+
"name": "feature",
8484
"color": "#84b6eb"
8585
},
8686
{
87-
"name": "type:maintenance",
87+
"name": "maintenance",
8888
"color": "#fbca04"
8989
},
9090
{
91-
"name": "type:question",
91+
"name": "question",
9292
"color": "#cc317c"
9393
},
9494
{
9595
"name": "wontfix",
9696
"color": "#ffffff"
9797
}
98-
]
98+
]

.github/pr-labeler.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
'type:feature': ['feature/*', 'feat/*', 'enhancement/*']
2-
'type:bug': ['fix/*', 'bugfix/*', 'hotfix/*']
3-
'type:maintenance': ['chore/*', 'maintenance/*', 'maintain/*', 'maint/*']
1+
feature:
2+
- 'feature/*'
3+
- 'feat/*'
4+
- 'enhancement/*'
5+
bug:
6+
- 'fix/*'
7+
- 'bugfix/*'
8+
- 'hotfix/*'
9+
maintenance:
10+
- 'chore/*'
11+
- 'maintenance/*'
12+
- 'maintain/*'
13+
- 'maint/*'

.github/release-drafter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ tag-template: 'v$NEXT_PATCH_VERSION'
33
categories:
44
- title: '🚀 Features'
55
labels:
6-
- 'type:feature'
6+
- 'feature'
77
- title: '🐛 Bug Fixes'
88
labels:
9-
- 'type:bug'
9+
- 'bug'
1010
- title: '🧰 Maintenance'
11-
label: 'type:maintenance'
11+
label: 'maintenance'
1212
exclude-labels:
1313
- 'skip-changelog'
14-
- 'type:documentation'
14+
- 'documentation'
1515
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
1616
template: |
1717
## Changes

.github/workflows/pr-management.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@ name: Pull Request Management
33
on: pull_request
44

55
jobs:
6-
labeler:
6+
label:
7+
name: Label Pull Request
78
runs-on: ubuntu-latest
89
steps:
9-
- name: PR Labeler
10+
- name: Label based on branch prefix
1011
if: github.event_name == 'pull_request' && github.event.action == 'opened'
1112
uses: TimonVS/[email protected]
1213
env:
1314
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14-
wip:
15-
name: Set status
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: wip/[email protected]
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)