Add label enforcer workflow (#178)
This commit is contained in:
parent
b66863b12c
commit
0e97501057
1 changed files with 13 additions and 0 deletions
13
.github/workflows/enforce-label.yml
vendored
Normal file
13
.github/workflows/enforce-label.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Enforce Labels
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled, unlabeled, opened, edited, synchronize]
|
||||
jobs:
|
||||
enforce-label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: yogevbd/enforce-label-action@2.1.0
|
||||
with:
|
||||
REQUIRED_LABELS_ANY: "automerge,breaking-change,bug-fix,enhancement,feature,translation"
|
||||
REQUIRED_LABELS_ANY_DESCRIPTION: "The PR must have at least one these labels: ['automerge','breaking-change','bug-fix','enhancement','feature','translation']"
|
Loading…
Add table
Add a link
Reference in a new issue