Browse Source

Update github mergeable label regex (#12815)

3.2.0-release
Eric Gao 2 years ago committed by GitHub
parent
commit
2ba5bd47dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .github/mergeable.yml

8
.github/mergeable.yml

@ -50,9 +50,13 @@ mergeable:
validate: validate:
- do: milestone - do: milestone
no_empty: no_empty:
enabled: true # Cannot be empty when true. enabled: false # Cannot be empty when true.
message: 'Milestone is required and cannot be empty.' message: 'Milestone is required and cannot be empty.'
- do: label - do: label
must_include: and:
- must_include:
regex: 'feature|bug|improvement|document|chore' regex: 'feature|bug|improvement|document|chore'
message: 'Label must include one of the following: `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`'

Loading…
Cancel
Save