Skip to content

Commit

Permalink
Update github mergeable label regex (#12815)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGao888 authored Nov 12, 2022
1 parent 87a88e3 commit 2ba5bd4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/mergeable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,13 @@ mergeable:
validate:
- do: milestone
no_empty:
enabled: true # Cannot be empty when true.
enabled: false # Cannot be empty when true.
message: 'Milestone is required and cannot be empty.'
- do: label
must_include:
regex: 'feature|bug|improvement|document|chore'
message: 'Label must include one of the following: `feature`, `bug`, `improvement`, `document`, `chore`'
and:
- must_include:
regex: 'feature|bug|improvement|document|chore'
message: 'Label must include one of the following: `feature`, `bug`, `improvement`, `document`, `chore`'
- must_include:
regex: '3\.0\.x|3\.1\.x|3\.2\.0'
message: 'Label must include one or more of the following: `3.0.x`, `3.1.x`, `3.2.0`'

0 comments on commit 2ba5bd4

Please sign in to comment.