Skip to content

Commit

Permalink
工作流:添加配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
ACaiCat authored May 3, 2024
1 parent 934536f commit 4469396
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions Config/Config_Rep.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"categories": [
{
"title": "## 🚀 插件/功能",
"labels": ["Feat", "Add", "feature", "feat", "add", "添加"]
},
{
"title": "## 🐛 修复",
"labels": ["fix","Fix", "修复"]
},
{
"title": "## 📝 文档",
"labels": ["README","文档"]
},
{
"title": "## 🧪 更新",
"labels": ["update","Update","更新"]
},
{
"title": "## 🧰 工作流",
"labels": ["工作流","Workflow","Action"]
}
],
"custom_placeholders": [
{
"name": "TITLE_ONLY",
"source": "TITLE",
"transformer": {
"method": "regexr",
"pattern": "(\\w+(\\(.+\\))?: ?)?(.+)",
"target": "$2 $3"
}
}
],
"label_extractor": [
{
"pattern": "^(feature|feat|add|添加|Feat|Add).*",
"target": "$1",
"on_property": "title"
},
{
"pattern": "^(fix|修复|Fix).*",
"target": "$1",
"on_property": "title"
},
{
"pattern": "^(README|文档).*",
"target": "$1",
"on_property": "title"
},
{
"pattern": "^(update|更新|Update).*",
"target": "$1",
"on_property": "title"
},
{
"pattern": "^(工作流|Workflow|Action).*",
"target": "$1",
"on_property": "title"
}
],
"sort": "ASC",
"template": "${{CHANGELOG}}",
"pr_template": "- ${{TITLE}} - PR: #${{NUMBER}} by@#{{AUTHOR}}",
"empty_template": "#{{OWNER}}\n#{{REPO}}\n#{{FROM_TAG}}\n#{{TO_TAG}}",
"max_pull_requests": 1000,
"max_back_track_time_days": 1000
}

0 comments on commit 4469396

Please sign in to comment.