mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-25 19:45:05 +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'
|
name-template: 'Milli v$RESOLVED_VERSION'
|
||||||
tag-template: 'v$RESOLVED_VERSION'
|
tag-template: 'v$RESOLVED_VERSION'
|
||||||
exclude-labels:
|
exclude-labels:
|
||||||
- 'skip-changelog'
|
- 'skip changelog'
|
||||||
version-resolver:
|
version-resolver:
|
||||||
minor:
|
minor:
|
||||||
labels:
|
labels:
|
||||||
- 'breaking-change'
|
- 'DB breaking'
|
||||||
|
- 'API breaking'
|
||||||
default: patch
|
default: patch
|
||||||
categories:
|
categories:
|
||||||
- title: 'Breaking changes ⚠️'
|
- title: 'API breaking'
|
||||||
label: 'breaking-change'
|
label: 'API breaking'
|
||||||
|
- title: 'DB breaking'
|
||||||
|
label: 'DB breaking'
|
||||||
|
- title: 'Changes'
|
||||||
|
label: 'no breaking'
|
||||||
template: |
|
template: |
|
||||||
## Changes
|
|
||||||
|
|
||||||
$CHANGES
|
$CHANGES
|
||||||
|
|
||||||
Thanks again to $CONTRIBUTORS! 🎉
|
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