diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..a7ea46d39 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,34 @@ +# This file is used by Release Drafter +# GitHub Action https://github.com/marketplace/actions/release-drafter +# Each merged PR is added in the right section of the draft release based on its label. +categories: + - title: "💥 Breaking Changes" + label: "breaking" + - title: "✨ Features" + label: "enhancement" + - title: "🐛 Fixes" + label: "bug" + - title: "🏎 Performance" + label: "performance" + - title: "🔨 Refactoring" + label: "refactoring" + - title: "❌ Removals and Deprecations" + label: "removal" + - title: "🚥 Testing" + label: "testing" + - title: "💄 Style" + label: "style" + - title: "📖 Documentation" + label: "documentation" + - title: "👷‍♂️ Continuous Integration" + label: "ci" + - title: "📦 Build and dependencies" + labels: + - "build" + - "dependencies" +exclude-labels: + - "skip changelog" +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..52fa63b3d --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,16 @@ +name: Release Drafter + +on: + push: + branches: + - main + pull_request: + types: [opened, reopened, synchronize] + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}