Skip to content

Commit da1a615

Browse files
committed
dev: Development changes
1 parent 09e34ab commit da1a615

1 file changed

Lines changed: 107 additions & 0 deletions

File tree

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
name: "Upload Artifacts"
2+
description: "Upload Build Artifacts"
3+
inputs:
4+
token:
5+
description: "Github personal access token"
6+
required: true
7+
fromTag:
8+
description: 'Defines the previous tag to compare against'
9+
required: true
10+
toTag:
11+
description: 'Defines the newly tag created'
12+
required: true
13+
14+
outputs:
15+
changelog:
16+
description: "The built release changelog built from the merged pull requests"
17+
value: ${{ steps.changelog.changelog }}
18+
fromTag:
19+
description: "Lower bound to process pull requests for"
20+
value: ${{ steps.changelog.fromTag }}
21+
toTag:
22+
description: "Upper bound to process pull request for"
23+
value: ${{ steps.changelog.toTag }}
24+
failed:
25+
description: "Defines if there was an issue with the action run, and the changelog may not have been generated correctly. [true, false]"
26+
value: ${{ steps.changelog.failed }}
27+
28+
runs:
29+
using: "composite"
30+
steps:
31+
- name: "Build Changelog"
32+
id: changelog
33+
uses: mikepenz/release-changelog-builder-action@v5
34+
with:
35+
token: ${{ inputs.token }}
36+
fromTag: ${{ inputs.fromTag }}
37+
toTag: ${{ inputs.toTag }}
38+
mode: COMMIT
39+
outputFile: "COMMIT_CHANGELOG.md"
40+
configurationJson: |
41+
{
42+
"template": "#{{CHANGELOG}}\n## Contributors:\n- #{{CONTRIBUTORS}}",
43+
"pr_template": "◉ #{{TITLE}} (##{{NUMBER}}) by #{{AUTHOR_NAME}} @#{{AUTHOR}}",
44+
"commit_template": "◉ #{{TITLE}} by #{{AUTHOR_NAME}} @#{{AUTHOR}}",
45+
"empty_template": "◉ no changes",
46+
"categories": [
47+
{
48+
"title": "## 🚀 Features",
49+
"labels": [
50+
"feat",
51+
"feature"
52+
]
53+
},
54+
{
55+
"title": "## 🪲 Fixes",
56+
"labels": [
57+
"fix",
58+
"bug"
59+
]
60+
},
61+
{
62+
"title": "## 🛠️ Updates",
63+
"labels": [
64+
"refactor",
65+
"update",
66+
"perf",
67+
"style"
68+
]
69+
},
70+
{
71+
"title": "## 🧪 Tests",
72+
"key": "tests",
73+
"labels": [
74+
"test"
75+
]
76+
},
77+
{
78+
"title": "## 📖 Documentation",
79+
"labels": [
80+
"doc"
81+
]
82+
},
83+
{
84+
"title": "## 💬 Other",
85+
"labels": [
86+
"build",
87+
"ci"
88+
]
89+
}
90+
],
91+
"ignore_labels": [
92+
"ignore",
93+
"chore",
94+
"dev",
95+
"style"
96+
],
97+
"sort": {
98+
"order": "ASC",
99+
"on_property": "mergedAt"
100+
},
101+
"label_extractor": [
102+
{
103+
"pattern": "^(feat|feature|fix|bug|refactor|update|perf|test|docs|build|ci|revert|chore|ignore|dev|style){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
104+
"target": "$1"
105+
}
106+
]
107+
}

0 commit comments

Comments
 (0)