diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..c64c93c --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,35 @@ +name-template: "DZ-Cloud v$NEXT_PATCH_VERSION" +tag-template: "v$NEXT_PATCH_VERSION" +categories: + - title: "🚀 Features" + labels: + - "kind/feature" + - "kind/enhancement" + - title: "🐛 Bug Fixes" + labels: + - "kind/fix" + - "kind/bugfix" + - "kind/bug" + - title: "🧰 Maintenance" + labels: + - "kind/chore" + - "area/ci" + - "area/tests" + - title: 📖 Documentation + label: area/docs + - title: 🔒 Security + label: security +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +template: | + ## What's New + ## 🔤 General + $CHANGES + + ## 👨🏽‍💻 Contributors + + Thank you to our contributors for making this release possible: + $CONTRIBUTORS +autolabeler: + - label: "area/ci" + branch: + - "/.github/" diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml new file mode 100644 index 0000000..8a9e95f --- /dev/null +++ b/.github/workflows/release-drafter.yaml @@ -0,0 +1,26 @@ +name: Release Drafter + +on: + push: + branches: + - master + paths-ignore: + - '.github/**' + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-22.04 + steps: + - name: Drafting release + id: release_drafter + uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file