- 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:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user