Skip to content

Commit

Permalink
new workflow for ci changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
zackAJ committed Feb 24, 2025
1 parent 9daf491 commit 4ee01b4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/changelog.yaml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Build Changelog
uses: mikepenz/release-changelog-builder-action@v5
with:
mode: "PR"
configurationJson: |
{
"template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>",
"categories": [
{
"title": "## Feature",
"labels": ["feat", "feature"]
},
{
"title": "## Fix",
"labels": ["fix", "bug","hotfix"]
},
{
"title": "## Other",
"labels": ["chore","refactor","dep"]
}
],
"label_extractor": [
{
"pattern": "^(build|chore|ci|docs|feat|fix|hotfix|perf|refactor|revert|style|test|dep){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
"target": "$1"
}
]
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4ee01b4

Please sign in to comment.