diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-01-08 23:54:09 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-08 23:54:09 -0600 |
| commit | 49008fe2f5c24e548f7c267d488e3544e4bc5eff (patch) | |
| tree | da3cc7d1514b315a7e3f2bb01ec13c7a527dc963 | |
| parent | 7d8cdeec737066941666e8715a13a6daf3edd704 (diff) | |
| parent | 0da9d460abcfd4dec6064d8364c6ac223a9c1dd8 (diff) | |
| download | slskd-49008fe2f5c24e548f7c267d488e3544e4bc5eff.tar.gz | |
Merge pull request #6 from slskd/test
Add changelog config
| -rw-r--r-- | .github/configuration/changelog.json | 27 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
2 files changed, 31 insertions, 2 deletions
diff --git a/.github/configuration/changelog.json b/.github/configuration/changelog.json new file mode 100644 index 00000000..c7072363 --- /dev/null +++ b/.github/configuration/changelog.json @@ -0,0 +1,27 @@ +{ + "categories": [ + { + "title": "### Features", + "labels": ["feature"] + }, + { + "title": "### Bug Fixes", + "labels": ["fix"] + }, + { + "title": "### Refactoring", + "labels": ["refactor"] + }, + { + "title": "### Tests", + "labels": ["tests"] + } + ], + "sort": "ASC", + "template": "${{CHANGELOG}}### Uncategorized\n\n${{UNCATEGORIZED}}", + "pr_template": "- ${{TITLE}} (#${{NUMBER}})", + "empty_template": "- No Changes", + "max_tags_to_fetch": 200, + "max_pull_requests": 200, + "max_back_track_time_days": 180 +}
\ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20e24cc4..5a69ea01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -162,9 +162,11 @@ jobs: zip -r ../../slskd-${{ env.LATEST_TAG }}-osx-x64.zip . - name: Build Changelog id: build_changelog - uses: heinrichreimer/github-changelog-generator-action@v2.1.1 + uses: mikepenz/release-changelog-builder-action@v1.4.0 with: - token: ${{ secrets.GITHUB_TOKEN }} + configuration: .github/configuration/release.json + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') |
