openmv/.github/workflows/changelog.json
2022-03-10 01:16:18 +02:00

139 lines
3.0 KiB
JSON

{
"categories": [
{
"title": "ignore",
"labels": ["github"]
},
{
"title": "## 🪄 Image",
"labels": ["imlib"]
},
{
"title": "## 🧬 HAL",
"labels": ["hal"]
},
{
"title": "## 📚 Lib",
"labels": ["lib"]
},
{
"title": "## 🤖 Sensors",
"labels": ["sensors"]
},
{
"title": "## 💾 Drivers",
"labels": ["drivers"]
},
{
"title": "## 🧪 Ports",
"labels": ["ports"]
},
{
"title": "## ⚙️ Boards",
"labels": ["boards"]
},
{
"title": "## 📜 Scripts",
"labels": ["scripts"]
},
{
"title": "## 🐍 Micropython",
"labels": ["micropython"]
}
],
"ignore_labels": [
"github"
],
"label_extractor": [
{
"pattern": "^github",
"method": "match",
"on_property": "title"
},
{
"pattern": "^imlib",
"method": "match",
"on_property": "title"
},
{
"pattern": "(^hal)(.+)",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "(^lib)(.+)",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "(^sensors)(.+)",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "(^Lepton)(.+)",
"method": "replace",
"target": "sensors",
"on_property": "title"
},
{
"pattern": "(^drivers)(.+)",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "(^ports)\/(.+):",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "(^boards)(.+)",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "(^scripts)(.+)",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "(^micropython)(.+)",
"method": "replace",
"target": "$1",
"on_property": "title"
},
{
"pattern": "^(stm32|rp2|nrf)(.*)",
"method": "replace",
"target": "ports",
"on_property": "title"
},
{
"pattern": "^(OPENMV2|OPENMV3|OPENMV4|OPENMV4P|PORTENTA|OPENMVPT|NICLAV|NANO33|ARDUINO_NANO_RP2040_CONNECT)(.*)",
"method": "replace",
"target": "boards",
"on_property": "title"
}
],
"transformers": [
{
"pattern": "^(.*)\/(.+:.*)",
"target": "- $2\n"
}
],
"sort": "DESC",
"template": "${{CHANGELOG}}\n\n## 🪛 Misc Fixes:\n\n${{UNCATEGORIZED}}\n",
"pr_template": "- ${{TITLE}}",
"empty_template": "- no changes",
"max_tags_to_fetch": 100,
"max_pull_requests": 100,
"max_back_track_time_days": 100
}