From 13d9a30539a9dd4d8b7ac4baf9a378430c505801 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 21:59:37 +0000 Subject: [PATCH 1/2] Bump release-drafter/release-drafter from 6 to 7 Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 6 to 7. - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](https://github.com/release-drafter/release-drafter/compare/v6...v7) --- updated-dependencies: - dependency-name: release-drafter/release-drafter dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 1d061a42..8840202d 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -25,6 +25,6 @@ jobs: runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "main" - - uses: release-drafter/release-drafter@v6 + - uses: release-drafter/release-drafter@v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 2cbcff20951e5e65e17a94dbe1332d3f1dd224d9 Mon Sep 17 00:00:00 2001 From: Tim Laing <11019084+timlaing@users.noreply.github.com> Date: Sun, 22 Mar 2026 18:42:53 +0000 Subject: [PATCH 2/2] Updated release drafter configuration --- .github/release-drafter.yml | 37 +++++++++++++++++++++++++++ .github/workflows/autolabeler.yml | 16 ++++++++++++ .github/workflows/release-drafter.yml | 4 ++- .pre-commit-config.yaml | 2 +- 4 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/autolabeler.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index a4dce4c2..64e1f4e7 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,40 @@ +categories: + - title: "🚀 Features" + labels: + - "feature" + - "enhancement" + - title: "🐛 Bug Fixes" + labels: + - "fix" + - "bugfix" + - "bug" + - title: "🧰 Maintenance" + labels: + - "chore" + - title: "⬆️ Dependencies" + labels: + - "dependencies" +change-title-escapes: '\<*_&`' +commitish: main + +autolabeler: + - label: "chore" + files: + - "*.md" + branch: + - '/docs{0,1}\/.+/' + - label: "bugfix" + branch: + - '/bugfix\/.+/' + title: + - "/fix/i" + - label: "feature" + branch: + - '/feature\/.+/' + - label: "dependencies" + branch: + - '/dependabot\/.+/' + template: | ## What's Changed diff --git a/.github/workflows/autolabeler.yml b/.github/workflows/autolabeler.yml new file mode 100644 index 00000000..e859b30a --- /dev/null +++ b/.github/workflows/autolabeler.yml @@ -0,0 +1,16 @@ +# yamllint disable-line rule:truthy +on: + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + auto_label: + permissions: + pull-requests: write + runs-on: ubuntu-latest + steps: + # runs autolabeler + - uses: release-drafter/release-drafter/autolabeler@v7 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 8840202d..3718e9bb 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -21,10 +21,12 @@ jobs: contents: write # write permission is required for autolabeler # otherwise, read permission is required at least - pull-requests: write + pull-requests: read runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "main" - uses: release-drafter/release-drafter@v7 + with: + config-name: release-drafter.yml # the default, loads '.github/release-drafter.yml' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 38418e4e..a223c10c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: hooks: - id: codespell args: - - --ignore-words-list=astroid,addin + - --ignore-words-list=astroid,addin,commitish - --quiet-level=2 - repo: https://github.com/adrienverge/yamllint.git rev: v1.38.0