diff --git a/changelog_conf.json b/changelog_conf.json new file mode 100644 index 0000000000..e4c7eab9b1 --- /dev/null +++ b/changelog_conf.json @@ -0,0 +1,4 @@ +{ + "template": "${{UNCATEGORIZED}}", + "pr_template": "- ${{TITLE}}\n" +} diff --git a/workflows/build.yml b/workflows/build.yml index a28fb376ed..3ea55e0459 100644 --- a/workflows/build.yml +++ b/workflows/build.yml @@ -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 }}