name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"

categories:
  - title: "💥 Breaking Changes"
    labels:
      - "breaking"
  - title: "🚀 Features"
    labels:
      - "feature"
      - "enhancement"
  - title: "🐞 Bug Fixes"
    labels:
      - "fix"
      - "bug"
  - title: "📚 Documentation"
    labels:
      - "documentation"
      - "docs"
  - title: "🧰 Maintenance"
    labels:
      - "chore"
      - "ci"
  - title: "🔧 Dependency Updates"
    labels:
      - "dependencies"

change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&'

exclude-labels:
  - "skip-changelog"

exclude-contributors:
  - "dependabot"
  - "dependabot[bot]"
  - "github-actions[bot]"

no-contributors-template: "just me this time 😅"

autolabeler:
  - label: "docs"
    branch:
      - '/^docs\/.+/'
    title:
      - "/^docs/i"
    files:
      - 'docs/**'
      - 'book/**'
      - '*.md'
  - label: "bug"
    branch:
      - '/fix\/.+/'
    title:
      - "/fix/i"
  - label: "feature"
    branch:
      - '/feature\/.+/'
      - '/feat\/.+/'
    title:
      - "/feature/i"
      - "/feat/i"
  - label: "chore"
    branch:
      - '/chore\/.+/'
    title:
      - "/chore/i"
  - label: "ci"
    files:
      - '.github/**'
  - label: "dependencies"
    branch:
      - '/dependabot\/.+/'
    files:
      - 'Cargo.toml'
      - 'Cargo.lock'

version-resolver:
  major:
    labels:
      - "breaking"
  minor:
    labels:
      - "feature"
      - "enhancement"
  patch:
    labels:
      - "fix"
      - "bug"
      - "documentation"
      - "docs"
      - "dependencies"
      - "chore"
      - "ci"
  default: patch

template: |
  ## Changes

  $CHANGES

  ## Contributors

  ❤️ A big thanks to $CONTRIBUTORS
