From c77621726777459c48b1bfffafc7430414134fb7 Mon Sep 17 00:00:00 2001 From: Dylan Decrulle Date: Wed, 13 Apr 2022 13:19:14 +0200 Subject: [PATCH 1/2] feat: add generate_release_notes --- .github/release.yaml | 25 +++++++++++++++++++++++++ .github/workflows/ci.yaml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/release.yaml diff --git a/.github/release.yaml b/.github/release.yaml new file mode 100644 index 0000000..ae38baa --- /dev/null +++ b/.github/release.yaml @@ -0,0 +1,25 @@ +changelog: + exclude: + labels: + - ignore-for-release + authors: + - octocat + categories: + - title: Breaking Changes 🛠 + labels: + - breaking + - title: Exciting New Features 🎉 + labels: + - feature + - title: Fixes 🔧 + labels: + - fix + - title: Documentation 🔧 + labels: + - docs + - title: CI 👷 + labels: + - ci + - title: Other Changes + labels: + - '*' \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3a99a8d..e3442a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -105,7 +105,7 @@ jobs: name: Release v${{ needs.check_if_version_upgraded.outputs.to_version }} tag_name: v${{ needs.check_if_version_upgraded.outputs.to_version }} target_commitish: ${{ github.head_ref || github.ref }} - body: ${{ steps.step1.outputs.body }} + generate_release_notes: true draft: false prerelease: ${{ needs.check_if_version_upgraded.outputs.is_release_beta == 'true' }} env: From 41ef7b9f8d3c92550f0fa437ee199bd93d3fa62e Mon Sep 17 00:00:00 2001 From: Dylan Decrulle Date: Wed, 13 Apr 2022 14:49:53 +0200 Subject: [PATCH 2/2] fix: change action name --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e3442a4..d3f9e4c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -100,7 +100,7 @@ jobs: env: FROM_VERSION: ${{ needs.check_if_version_upgraded.outputs.from_version }} TO_VERSION: ${{ needs.check_if_version_upgraded.outputs.to_version }} - - uses: garronej/action-gh-release@v0.2.0 + - uses: softprops/action-gh-release@v1 with: name: Release v${{ needs.check_if_version_upgraded.outputs.to_version }} tag_name: v${{ needs.check_if_version_upgraded.outputs.to_version }}