Skip to content

Commit 3bddd03

Browse files
Update release.yml
1 parent df6f165 commit 3bddd03

1 file changed

Lines changed: 24 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,42 +48,47 @@ jobs:
4848
configurationJson: |
4949
{
5050
"template": "#{{CHANGELOG}}",
51+
"commit_template": "- [`#{{SHORT_MERGE_SHA}}`](https://github.com/AlexProgrammerDE/PistonQueue/commit/#{{MERGE_SHA}}) #{{TITLE}} by @#{{AUTHOR}}",
5152
"categories": [
5253
{
53-
"title": "## Feature",
54+
"title": "## 🚀 Features",
5455
"labels": ["feat", "feature"]
5556
},
5657
{
57-
"title": "## Fix",
58+
"title": "## 🐛 Fixes",
5859
"labels": ["fix", "bug"]
5960
},
6061
{
61-
"title": "## Performance",
62+
"title": "## 🏎️ Performance",
6263
"labels": ["perf"]
6364
},
6465
{
65-
"title": "## Refactor",
66+
"title": "## 🏗 Refactor",
6667
"labels": ["refactor"]
6768
},
6869
{
69-
"title": "## Documentation",
70+
"title": "## 📝 Documentation",
7071
"labels": ["docs"]
7172
},
7273
{
73-
"title": "## Build",
74+
"title": "## 🔨 Build",
7475
"labels": ["build", "chore", "ci"]
7576
},
7677
{
77-
"title": "## Style",
78+
"title": "## 💅 Style",
7879
"labels": ["style"]
7980
},
8081
{
81-
"title": "## Test",
82+
"title": "## 🧪 Tests",
8283
"labels": ["test"]
8384
},
8485
{
85-
"title": "## Other",
86+
"title": "## 💬 Other",
8687
"labels": []
88+
},
89+
{
90+
"title": "## 📦 Dependencies",
91+
"labels": ["dependencies"]
8792
}
8893
],
8994
"label_extractor": [
@@ -92,6 +97,16 @@ jobs:
9297
"on_property": "title",
9398
"target": "$1"
9499
}
100+
],
101+
"custom_placeholders": [
102+
{
103+
"name": "SHORT_MERGE_SHA",
104+
"source": "MERGE_SHA",
105+
"transformer": {
106+
"pattern": "^([0-9a-f]{7})[0-9a-f]*$",
107+
"target": "$1"
108+
}
109+
}
95110
]
96111
}
97112
env:

0 commit comments

Comments
 (0)