Skip to content

Commit

Permalink
build: update regex to support scope
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Jul 9, 2024
1 parent 13dc574 commit 05155f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@ version: v1
labels:
- label: 'enhancement'
matcher:
title: '^feat: .*'
title: '^feat(\(\w+\))?: .*'

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

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

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

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

- label: 'build'
matcher:
title: '^(ci|build): .*'
title: '^(ci|build)(\(\w+\))?: .*'

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

checks:
- context: 'Semantic Pull Request'
Expand Down

0 comments on commit 05155f8

Please sign in to comment.