- introduce new API adding support to extract additional PR labels from the PR message. This can also be used to organise the changelog in commitMode

- adjust RegExp to be executed in unicode mode, allows referencing a emoji via `.`
- introduce new testcase for emoji mode with label extractor
This commit is contained in:
Mike Penz
2021-02-19 14:59:54 +01:00
parent eb483b0c5c
commit f8918d6247
7 changed files with 141 additions and 29 deletions
@@ -0,0 +1,37 @@
{
"categories": [
{
"title": "## 🚀 Features",
"labels": ["🚀", "🌟"]
},
{
"title": "## 🐛 Fixes",
"labels": ["🐛"]
},
{
"title": "## 🧪 Tests",
"labels": ["🧪"]
},
{
"title": "## 💬 Other",
"labels": ["💬", "📖", "🚨"]
},
{
"title": "## 📦 Dependencies",
"labels": ["dependencies"]
}
],
"pr_template": "${{TITLE}}",
"label_extractor": [
{
"pattern": "(.) (.+)",
"target": "$1"
}
],
"transformers": [
{
"pattern": "(.) (.+)",
"target": "- $2"
}
]
}