From 24f64c1f7fbc409fae138161058f3b8368bd6750 Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Fri, 16 Aug 2024 15:46:47 +0200 Subject: [PATCH] :'''( --- .github/workflows/release-workflows.yaml | 4 ++-- changelog-ci-config.json | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 changelog-ci-config.json diff --git a/.github/workflows/release-workflows.yaml b/.github/workflows/release-workflows.yaml index b7e25132..c5480da6 100644 --- a/.github/workflows/release-workflows.yaml +++ b/.github/workflows/release-workflows.yaml @@ -29,13 +29,13 @@ jobs: - name: Run Changelog CI uses: saadmk11/changelog-ci@v1.1.2 with: - release_version: steps.version.outputs.version + release_version: ${{ steps.version.outputs.version }} + config_file: changelog-ci-config.json - name: Commit and push updated info.xml and changelog.md run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git add apinfo/info.xml git add changelog.md git commit -m "Update version and summary in info.xml to ${{ steps.version.outputs.version }}" git push origin ${{ github.head_ref }} diff --git a/changelog-ci-config.json b/changelog-ci-config.json new file mode 100644 index 00000000..178516e1 --- /dev/null +++ b/changelog-ci-config.json @@ -0,0 +1,23 @@ +{ + "changelog_type": "commit_message", + "commit_changelog": true, + "exclude_labels": ["bot", "dependabot", "ci"], + "group_config": [ + { + "title": "Bug Fixes", + "labels": ["bug", "bugfix"] + }, + { + "title": "Code Improvements", + "labels": ["improvements", "enhancement"] + }, + { + "title": "New Features", + "labels": ["feature"] + }, + { + "title": "Documentation Updates", + "labels": ["docs", "documentation", "doc"] + } + ] +} \ No newline at end of file