aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorGravatar Srini Polavarapu <psrini@google.com>2018-08-06 18:08:53 -0700
committerGravatar Srini Polavarapu <psrini@google.com>2018-08-06 18:08:53 -0700
commitf43103dcec1e678b66a28d92f6cadbbcbb8ec2ac (patch)
tree35d3281fe871f39379d41cf81c6aa1d79cfd0903 /.github
parent6499836bdac014b0b30cc28fd0e9c9bc07c76bcd (diff)
Add lang check
Diffstat (limited to '.github')
-rw-r--r--.github/mergeable.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/mergeable.yml b/.github/mergeable.yml
index 660d8cb440..30692095c4 100644
--- a/.github/mergeable.yml
+++ b/.github/mergeable.yml
@@ -1,6 +1,14 @@
mergeable:
pull_requests:
label:
- must_include:
- regex: "release notes: yes|release notes: no"
- message: "Add release notes yes/no label. For yes, add lang label"
+ or:
+ - and:
+ - must_include:
+ regex: 'release notes: yes'
+ message: 'Please include release note: yes'
+ - must_include:
+ regex: '^lang\/'
+ message: 'Please include a language label'
+ - must_include:
+ regex: 'release notes: no'
+ message: 'Please include release note: no'