Skip to content

Commit

Permalink
fix: Add new label extractors (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Topi99 authored Dec 2, 2021
1 parent 1a0d470 commit 5a9091e
Showing 1 changed file with 35 additions and 11 deletions.
46 changes: 35 additions & 11 deletions .github/workflows/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"categories": [
{
"title": "## 🚀 New Features",
"labels": ["feature", "feat"]
"labels": ["feat"]
},
{
"title": "## 🐛 Fixes",
Expand Down Expand Up @@ -34,15 +34,39 @@
"empty_template": "- no changes",
"label_extractor": [
{
"pattern": "(?:^|(?:[.!?]\\s))(\\w+)",
"target": "$1",
"on_property": "title",
"method": "match"
"pattern": "^feat",
"target": "feat",
"on_property": "title"
},
{
"pattern": "^test",
"target": "test",
"on_property": "title"
},
{
"pattern": "^build",
"target": "deps",
"on_property": "title"
},
{
"pattern": "^fix",
"target": "fix",
"on_property": "title"
},
{
"pattern": "^docs",
"target": "docs",
"on_property": "title"
},
{
"pattern": "^doc",
"target": "docs",
"on_property": "title"
},
{
"pattern": "^chore",
"target": "chore",
"on_property": "title"
}
],
"duplicate_filter": {
"pattern": "\\[ABC-....\\]",
"on_property": "title",
"method": "match"
}
]
}

0 comments on commit 5a9091e

Please sign in to comment.