From fbedbb3b9ee1da6910386e5e7d24ca69279b2a3b Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 28 Jun 2024 11:21:02 +0200 Subject: [PATCH 1/4] add gha to create a github release to workflows/release.yml.erb Signed-off-by: Robert Waffen --- moduleroot/.github/workflows/release.yml.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/moduleroot/.github/workflows/release.yml.erb b/moduleroot/.github/workflows/release.yml.erb index 4e2efb97..f0812357 100644 --- a/moduleroot/.github/workflows/release.yml.erb +++ b/moduleroot/.github/workflows/release.yml.erb @@ -31,3 +31,10 @@ jobs: # https://docs.github.com/en/actions/security-guides/encrypted-secrets username: ${{ secrets.PUPPET_FORGE_USERNAME }} api_key: ${{ secrets.PUPPET_FORGE_API_KEY }} + + create-github-release: + name: Create GitHub Release + runs-on: ubuntu-latest + steps: + - name: Create GitHub release + uses: voxpupuli/gha-create-a-github-release@v1 From b7d9d095fc569af0ab3cd7546ed45eb77d7c0c02 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 28 Jun 2024 11:21:29 +0200 Subject: [PATCH 2/4] add release config for creating github releases Signed-off-by: Robert Waffen --- moduleroot/.github/release.yml.erb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 moduleroot/.github/release.yml.erb diff --git a/moduleroot/.github/release.yml.erb b/moduleroot/.github/release.yml.erb new file mode 100644 index 00000000..bced958f --- /dev/null +++ b/moduleroot/.github/release.yml.erb @@ -0,0 +1,20 @@ +--- +# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes + +changelog: + exclude: + labels: + - skip-changelog + + categories: + - title: Breaking Changes 🛠 + labels: + - backwards-incompatible + + - title: New Features 🎉 + labels: + - enhancement + + - title: Other Changes + labels: + - "*" From cea6737fd6f9763428cf7b12a1fef59f93d5b24b Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 5 Jul 2024 09:18:11 +0200 Subject: [PATCH 3/4] add more labels to exclude from the rake task - https://github.com/voxpupuli/voxpupuli-release/blob/master/lib/voxpupuli/release/rake_tasks.rb#L140 Signed-off-by: Robert Waffen --- moduleroot/.github/release.yml.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/moduleroot/.github/release.yml.erb b/moduleroot/.github/release.yml.erb index bced958f..291295db 100644 --- a/moduleroot/.github/release.yml.erb +++ b/moduleroot/.github/release.yml.erb @@ -4,7 +4,13 @@ changelog: exclude: labels: + - duplicate + - invalid + - modulesync + - question - skip-changelog + - wont-fix + - wontfix categories: - title: Breaking Changes 🛠 From 8c20e73a047cc0a37190cffc7d423d4b7465f45d Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 5 Jul 2024 09:19:16 +0200 Subject: [PATCH 4/4] add more catogories for bugs, docs and dependencies Signed-off-by: Robert Waffen --- moduleroot/.github/release.yml.erb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/moduleroot/.github/release.yml.erb b/moduleroot/.github/release.yml.erb index 291295db..cca537e5 100644 --- a/moduleroot/.github/release.yml.erb +++ b/moduleroot/.github/release.yml.erb @@ -21,6 +21,19 @@ changelog: labels: - enhancement + - title: Bug Fixes 🐛 + labels: + - bug + + - title: Documentation Updates 📚 + labels: + - documentation + - docs + + - title: Dependency Updates ⬆️ + labels: + - dependencies + - title: Other Changes labels: - "*"