File tree Expand file tree Collapse file tree 1 file changed +6
-32
lines changed Expand file tree Collapse file tree 1 file changed +6
-32
lines changed Original file line number Diff line number Diff line change 2828 fetch-depth : 0
2929 submodules : recursive
3030
31+ - name : test-action
32+ run : cd hack/common; git status
3133 - name : Install Task
3234 uses : arduino/setup-task@v2
3335 with :
@@ -85,46 +87,18 @@ jobs:
8587 done
8688
8789 - name : Build Changelog
88- id : github_release
89- uses : mikepenz/release-changelog-builder-action@e92187bd633e680ebfdd15961a7c30b2d097e7ad # v5
90- with :
91- mode : " PR"
92- configurationJson : |
93- {
94- "template": "#{{CHANGELOG}}",
95- "pr_template": "- #{{TITLE}}: ##{{NUMBER}}",
96- "categories": [
97- {
98- "title": "## Feature",
99- "labels": ["feat", "feature"]
100- },
101- {
102- "title": "## Fix",
103- "labels": ["fix", "bug"]
104- },
105- {
106- "title": "## Other",
107- "labels": []
108- }
109- ],
110- "label_extractor": [
111- {
112- "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
113- "on_property": "title",
114- "target": "$1"
115- }
116- ]
117- }
90+ id : github_release
91+ run : task r:generate-changelog
11892 env :
11993 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
120-
94+
12195 - name : Create GitHub release
12296 if : ${{ env.SKIP != 'true' }}
12397 uses : softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2
12498 with :
12599 tag_name : ${{ env.version }}
126100 name : Release ${{ env.version }}
127- body : ${{steps.github_release.outputs.changelog}}
101+ body : CHANGELOG.md
128102 draft : true
129103 prerelease : false
130104 env :
You can’t perform that action at this time.
0 commit comments