automate changelogs (#84)

This commit is contained in:
Efim Poberezkin
2021-04-09 18:20:09 +04:00
committed by GitHub
parent 4f20c23201
commit ef944226b2
2 changed files with 17 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
{
"template": "${{UNCATEGORIZED}}",
"pr_template": "- ${{TITLE}}\n"
}
+13 -1
View File
@@ -16,12 +16,24 @@ jobs:
- name: Clone project
uses: actions/checkout@v2
- name: Build changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v1
with:
configuration: .github/changelog_conf.json
failOnError: true
ignorePreReleases: true
commitMode: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create release
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
body: ${{ steps.build_changelog.outputs.changelog }}
files: |
LICENSE
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}