File tree Expand file tree Collapse file tree 2 files changed +35
-18
lines changed Expand file tree Collapse file tree 2 files changed +35
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ jobs :
2+ release :
3+ if : startsWith(github.ref, 'refs/tags/')
4+ runs-on : ubuntu-latest
5+ steps :
6+ - name : Build Changelog
7+ uses : mikepenz/release-changelog-builder-action@v5
8+ with :
9+ mode : " PR"
10+ configurationJson : |
11+ {
12+ "template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>",
13+ "categories": [
14+ {
15+ "title": "## Feature",
16+ "labels": ["feat", "feature"]
17+ },
18+ {
19+ "title": "## Fix",
20+ "labels": ["fix", "bug","hotfix"]
21+ },
22+ {
23+ "title": "## Other",
24+ "labels": ["chore","refactor","dep"]
25+ }
26+ ],
27+ "label_extractor": [
28+ {
29+ "pattern": "^(build|chore|ci|docs|feat|fix|hotfix|perf|refactor|revert|style|test|dep){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
30+ "target": "$1"
31+ }
32+ ]
33+ }
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments