From f916d55985f59ea1535041ec923ee91c34936c42 Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Thu, 8 May 2025 19:08:42 +0000 Subject: [PATCH] chore: configure release-drafter --- .github/release-drafter.yml | 13 +++++++++++++ .github/workflows/release.yml | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..765891d --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,13 @@ +name-template: 'v$NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +categories: + - title: "๐Ÿš€ Features" + label: "feature" + - title: "๐Ÿ› Bug Fixes" + label: "bug" + - title: "๐Ÿงน Maintenance" + label: "chore" +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +template: | + ## Changes + $CHANGES diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..1c07998 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +name: Release +on: + push: + tags: + - 'v*' + pull_request: + types: [closed] +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Draft Release + uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}