Skip to content

Commit

Permalink
update labeler for release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Jul 9, 2024
1 parent 4289463 commit bc7299c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,42 @@ version: v1

labels:
- label: 'enhancement'
sync: true
matcher:
title: '^feat(\(\w+\))?: .*'

- label: 'bug'
sync: true
matcher:
title: '^fix(\(\w+\))?: .*'

- label: 'refactor'
sync: true
matcher:
title: '^refactor(\(\w+\))?: .*'

- label: 'documentation'
sync: true
matcher:
title: '^docs(\(\w+\))?: .*'

- label: 'test'
sync: true
matcher:
title: '^test(\(\w+\))?: .*'

- label: 'build'
sync: true
matcher:
title: '^(ci|build)(\(\w+\))?: .*'
branch: '^(?!release/.*$)'
title: '^(ci|build)(\((?!release)\w+\))?: (?!.*\brelease\b).*'

- label: 'release'
sync: true
matcher:
branch: '^release/.*'

- label: 'dependency'
sync: true
matcher:
title: '^(deps)(\(\w+\))?: .*'

Expand Down

0 comments on commit bc7299c

Please sign in to comment.