mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 16:45:30 +08:00
Enforce labelling for the PRs
This commit is contained in:
parent
9ac2fd1c37
commit
9383629d13
15
.github/release-draft-template.yml
vendored
15
.github/release-draft-template.yml
vendored
@ -1,18 +1,21 @@
|
||||
name-template: 'Milli v$RESOLVED_VERSION'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
exclude-labels:
|
||||
- 'skip-changelog'
|
||||
- 'skip changelog'
|
||||
version-resolver:
|
||||
minor:
|
||||
labels:
|
||||
- 'breaking-change'
|
||||
- 'DB breaking'
|
||||
- 'API breaking'
|
||||
default: patch
|
||||
categories:
|
||||
- title: 'Breaking changes ⚠️'
|
||||
label: 'breaking-change'
|
||||
- title: 'API breaking'
|
||||
label: 'API breaking'
|
||||
- title: 'DB breaking'
|
||||
label: 'DB breaking'
|
||||
- title: 'Changes'
|
||||
label: 'no breaking'
|
||||
template: |
|
||||
## Changes
|
||||
|
||||
$CHANGES
|
||||
|
||||
Thanks again to $CONTRIBUTORS! 🎉
|
||||
|
14
.github/workflows/enforce-label.yml
vendored
Normal file
14
.github/workflows/enforce-label.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: Enforce PR labels
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled, unlabeled, opened, edited, synchronize]
|
||||
|
||||
jobs:
|
||||
enforce-label:
|
||||
name: Specify breaking
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: yogevbd/enforce-label-action@2.1.0
|
||||
with:
|
||||
REQUIRED_LABELS_ANY: 'no breaking,DB breaking,API breaking,skip changelog'
|
Loading…
Reference in New Issue
Block a user