diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..4aada2f --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,21 @@ +name: Release Drafter + +# Components of the release notes +categories: + - title: '๐Ÿš€ Features' + labels: + - 'feature' + - title: '๐Ÿ› Bug Fixes' + labels: + - 'bug' + - title: '๐Ÿงน Chores' + labels: + - 'chore' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +version-template: 'v$NEXT_PATCH_VERSION' +template: | + ## What's Changed + + $CHANGES + + **Full Changelog**: https://github.com/$REPO/compare/$PREVIOUS_TAG...$NEW_TAG diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..2b16648 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,22 @@ +name: Release Drafter + +on: + push: + branches: + - main + pull_request: + types: [closed] + release: + types: [published] + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Update Release Drafter + uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter.yml