diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 8fc36adfd..000000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,67 +0,0 @@ -name-template: "v$RESOLVED_VERSION" -tag-template: "v$RESOLVED_VERSION" -categories: - - title: "New Features ✨" - labels: - - "feature" - - "enhancement" - - title: "Bug Fixes 🐛" - labels: - - "fix" - - "bugfix" - - "bug" - - title: "Under the Hood ⚙️" - labels: - - "chore" - - "ci" - - "refactor" - - "testing" - - title: "Documentation 📖" - label: "docs" -change-template: "- $TITLE (#$NUMBER)" -change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. -version-resolver: - major: - labels: - - "major" - minor: - labels: - - "minor" - patch: - labels: - - "patch" - default: patch -template: | - ## Changes - - $CHANGES -autolabeler: - - label: "chore" - title: - - '/^chore(\(.*\))?\:/i' - - label: "testing" - title: - - '/^tests(\(.*\))?\:/i' - - label: "ci" - title: - - '/^ci(\(.*\))?\:/i' - - label: "bug" - title: - - '/^fix(\(.*\))?\:/i' - - label: "enhancement" - title: - - '/^feat(\(.*\))?/i' - - label: "docs" - title: - - '/^docs(\(.*\))?\:/i' - - label: "security" - title: - - '/^security(\(.*\))?\:/i' - - '/^fix(\(security\))?\:/i' - - label: "dependencies" - title: - - '/^chore\(deps\)\:/i' - - '/^build\(deps\)\:/i' - - label: "breaking" - title: - - '/!:\s*$/i' diff --git a/.github/workflows/release_drafter.yml b/.github/workflows/release_drafter.yml index f7b1fb6fb..aa331fdb6 100644 --- a/.github/workflows/release_drafter.yml +++ b/.github/workflows/release_drafter.yml @@ -4,15 +4,9 @@ on: push: branches: - main - pull_request: - # Only following types are handled by the action, but one can default to all as well - types: [opened, reopened, synchronize] - # # pull_request_target event is required for autolabeler to support PRs from forks - # pull_request_target: - # types: [opened, reopened, synchronize] concurrency: - group: release-drafter-${{ github.ref }} + group: release-drafter cancel-in-progress: false jobs: @@ -20,12 +14,8 @@ jobs: permissions: contents: write pull-requests: write - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - # Drafts the next Release notes as Pull Requests are merged into "main" - # Pinned to v6.0.0 to avoid v6.1.0 bug: https://github.com/release-drafter/release-drafter/issues/1425 - - uses: release-drafter/release-drafter@v6.0.0 - with: - config-name: release-drafter.yml + - uses: aaronsteers/semantic-pr-release-drafter@v0.3.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}