add config to workflow #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Changelog CI' | |
on: [ push ] | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
release: | |
if: startsWith(github.ref, 'refs/tags/') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build Changelog | |
uses: mikepenz/release-changelog-builder-action@v4 | |
with: | |
configurationJson: | | |
{ | |
"template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>", | |
"categories": [ | |
{ | |
"title": "Bug Fixes", | |
"labels": ["Bug Fix"] | |
}, | |
{ | |
"title": "Code Enhancements", | |
"labels": ["Enhancement"] | |
}, | |
{ | |
"title": "New Features", | |
"labels": ["New Feature"] | |
}, | |
{ | |
"title": "Documentation Updates", | |
"labels": ["Documentation", "Example"] | |
} | |
] | |
} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |