Skip to content

Commit d95a63c

Browse files
committed
dev: Development changes
1 parent c19b386 commit d95a63c

3 files changed

Lines changed: 31 additions & 67 deletions

File tree

.github/workflows/changelog-config.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/node-build.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,12 @@ jobs:
2525
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
2626
fetch-depth: 0
2727

28-
- name: Set Branch Name
29-
id: branch
30-
run: echo "BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
31-
32-
- name: Use Branch Name
33-
run: |
34-
echo "This workflow is running on branch: $BRANCH_NAME"
35-
3628
- name: "Scan Environment"
3729
id: environment
3830
uses: panates/gh-repository-info@v1
3931
with:
4032
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
4133

42-
4334
- name: "Build Changelog"
4435
id: changelog
4536
uses: mikepenz/release-changelog-builder-action@v5

changelog-config.json

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,46 @@
11
{
2+
"template": "#{{CHANGELOG}}\n## Contributors:\n- #{{CONTRIBUTORS}}",
3+
"pr_template": "◉ #{{TITLE}} (##{{NUMBER}}) by #{{AUTHOR_NAME}} @#{{AUTHOR}}",
4+
"commit_template": "◉ #{{TITLE}} by #{{AUTHOR_NAME}} @#{{AUTHOR}}",
5+
"empty_template": "◉ no changes",
26
"categories": [
37
{
48
"title": "## 🚀 Features",
5-
"labels": ["feature"]
9+
"labels": ["feat", "feature"]
610
},
711
{
8-
"title": "## 🐛 Fixes",
9-
"labels": ["fix"]
12+
"title": "## 🪲 Fixes",
13+
"labels": ["fix", "bug"]
14+
},
15+
{
16+
"title": "## 🛠️ Updates",
17+
"labels": ["refactor", "update", "perf", "style"]
1018
},
1119
{
1220
"title": "## 🧪 Tests",
21+
"key": "tests",
1322
"labels": ["test"]
23+
},
24+
{
25+
"title": "## 📖 Documentation",
26+
"labels": ["doc"]
27+
},
28+
{
29+
"title": "## 💬 Other",
30+
"labels": ["ci", ""]
1431
}
1532
],
1633
"ignore_labels": [
17-
"chore",
18-
"dev",
19-
"ignore"
34+
"ignore", "chore", "dev"
2035
],
21-
"sort": "ASC",
22-
"template": "${{CHANGELOG}}",
23-
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}",
24-
"empty_template": "- no changes",
25-
"max_pull_requests": 1000,
26-
"max_back_track_time_days": 1000
36+
"sort": {
37+
"order": "ASC",
38+
"on_property": "mergedAt"
39+
},
40+
"label_extractor": [
41+
{
42+
"pattern": "^(build|chore|ci|docs|feat|fix|perf|update|refactor|revert|style|test|ignore){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
43+
"target": "$1"
44+
}
45+
]
2746
}

0 commit comments

Comments
 (0)