4 Commits

Author SHA1 Message Date
Tim Basten
22e64b6dec feature: add changelog builder
Some checks failed
release / release (push) Failing after 18s
2026-02-06 11:32:23 +08:00
873a4c5237 feature: test-feature 1 (#2)
All checks were successful
release / release (push) Successful in 4s
This feature introduces cool stuff
2026-02-06 11:27:01 +08:00
Tim Basten
ea0511ae49 feature: update 2026-02-06 11:22:14 +08:00
Tim Basten
e9235bb816 update 2026-02-06 11:21:28 +08:00
2 changed files with 35 additions and 1 deletions

View File

@@ -14,11 +14,44 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Build Changelog
id: changelog
uses: mikepenz/release-changelog-builder-action@v6
with:
mode: "COMMIT"
configurationJson: |
{
"template": "#{{CHANGELOG}}",
"categories": [
{
"title": "## Feature",
"labels": ["feat", "feature"]
},
{
"title": "## Fix",
"labels": ["fix", "bug"]
},
{
"title": "## Other",
"labels": []
}
],
"label_extractor": [
{
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
"on_property": "title",
"target": "$1"
}
]
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Gitea Release - name: Create Gitea Release
uses: akkuman/gitea-release-action@v1 uses: akkuman/gitea-release-action@v1
with: with:
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
tag_name: ${{ gitea.ref_name }} tag_name: ${{ gitea.ref_name }}
name: ${{ gitea.ref_name }} name: ${{ gitea.ref_name }}
body: "Automated release" body: ${{ steps.changelog.outputs.changelog }}

1
test2.yml Normal file
View File

@@ -0,0 +1 @@
asdfsdfg