File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 7070 git tag -a "${{ env.version }}" -m "Release ${{ env.version }}"
7171 git push origin "${{ env.version }}"
7272
73+ - name : Build Changelog
74+ id : github_release
75+ uses : mikepenz/release-changelog-builder-action@v5
76+ with :
77+ mode : " PR"
78+ configurationJson : |
79+ {
80+ "template": "#{{CHANGELOG}}",
81+ "pr_template": "- #{{TITLE}}: ##{{NUMBER}}",
82+ "categories": [
83+ {
84+ "title": "## Feature",
85+ "labels": ["feat", "feature"]
86+ },
87+ {
88+ "title": "## Fix",
89+ "labels": ["fix", "bug"]
90+ },
91+ {
92+ "title": "## Other",
93+ "labels": []
94+ }
95+ ],
96+ "label_extractor": [
97+ {
98+ "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
99+ "on_property": "title",
100+ "target": "$1"
101+ }
102+ ]
103+ }
104+ env :
105+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
106+
73107 - name : Create GitHub release
74108 if : ${{ env.SKIP != 'true' }}
75109 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments