mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-22 21:09:58 +00:00
* Enforce conventional commit PR titles * Add automatic labelling of PRs * Write down breaking change policy. Left for another PR: * Validation of breaking change version bumps. (This is complicated due to separate releases for Python and other package.)
33 lines
927 B
YAML
33 lines
927 B
YAML
version: 1
|
|
appendOnly: true
|
|
# Labels are applied based on conventional commits standard
|
|
# https://www.conventionalcommits.org/en/v1.0.0/
|
|
# These labels are later used in release notes. See .github/release.yml
|
|
labels:
|
|
# If the PR title has an ! before the : it will be considered a breaking change
|
|
# For example, `feat!: add new feature` will be considered a breaking change
|
|
- label: breaking-change
|
|
title: "^[^:]+!:.*"
|
|
- label: breaking-change
|
|
body: "BREAKING CHANGE"
|
|
- label: enhancement
|
|
title: "^feat(\\(.+\\))?!?:.*"
|
|
- label: bug
|
|
title: "^fix(\\(.+\\))?!?:.*"
|
|
- label: documentation
|
|
title: "^docs(\\(.+\\))?!?:.*"
|
|
- label: performance
|
|
title: "^perf(\\(.+\\))?!?:.*"
|
|
- label: ci
|
|
title: "^ci(\\(.+\\))?!?:.*"
|
|
- label: chore
|
|
title: "^(chore|test|build|style)(\\(.+\\))?!?:.*"
|
|
- label: Python
|
|
files:
|
|
- "^python\\/.*"
|
|
- label: Rust
|
|
files:
|
|
- "^rust\\/.*"
|
|
- label: typescript
|
|
files:
|
|
- "^node\\/.*" |