diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..8d9d803 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,45 @@ +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "🚀 Features" + labels: + - "feature" + - "enhancement" + - title: "🐛 Bug Fixes" + labels: + - "bug" + - "bugfix" + - title: "🧰 Maintenance" + labels: + - "improvements" + - "chore" + - "dependencies" + - "documentation" +exclude-labels: + - "bot" + - "dependabot" + - "ci" +version-resolver: + major: + labels: + - "major" + minor: + labels: + - "feature" + - "enhancement" + patch: + labels: + - "bug" + - "bugfix" + - "improvements" + - "chore" + - "dependencies" + - "documentation" + - "github_actions" + default: patch +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +change-title-escapes: '\<*_&' +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..e3b957d --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,22 @@ +name: Release Drafter + +on: + push: + branches: + - master + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + contents: write + pull-requests: read + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v7 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}