diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..4706511f --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,43 @@ +categories: + - title: "New features" + labels: + - "new functionality" + - "enhancement" + - title: "API Changes" + labels: + - "Breaking change" + - "API change" + - title: "Data Model Changes" + labels: + - "data model change" + - title: "Bug Fixes" + labels: + - "bug" + - "fix" + - title: "Refactoring and Optimization" + labels: + - "optimization" + - "refactoring" + - title: "Maintenance" + labels: + - "build" + - "documentation" + - "installation" + - "maintenance" +change-template: "- $TITLE (#$NUMBER) @$AUTHOR" +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +template: | + + ## Summary + + ... + + ## Contributors + + $CONTRIBUTORS + + ## What has changed since $PREVIOUS_TAG + + Pull-requests containing changes of multiple nature are repeated. + + $CHANGES diff --git a/.github/workflows/release_drafter.yml b/.github/workflows/release_drafter.yml new file mode 100644 index 00000000..17fdb961 --- /dev/null +++ b/.github/workflows/release_drafter.yml @@ -0,0 +1,14 @@ +name: Release Drafter + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}