diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..12bb45d --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,27 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: 'Features' + labels: + - 'kind/feature' + - title: 'Fixes' + labels: + - 'kind/fix' + - title: 'Chore & Maintenance' + labels: + - 'kind/refactor' + - 'kind/chore' + - 'kind/docs' + - title: 'Dependencies' + labels: + - 'kind/dependencies' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-title-escapes: '\<*_&' +version-resolver: + minor: + labels: + - 'kind/feature' + default: patch +prerelease: false +template: | + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..4268136 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,21 @@ +name: Release Drafter + +on: + push: + branches: [main] + +permissions: + contents: write + pull-requests: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@65c5fb495d1e69aa8c08a3317bc44ff8aabe9772 # v5.24.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}