You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2022/11/12 15:37:10 UTC

[dolphinscheduler] branch dev updated: Update github mergeable label regex (#12815)

This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 2ba5bd47dd Update github mergeable label regex (#12815)
2ba5bd47dd is described below

commit 2ba5bd47dde2defb90c18dcac4117d19d55b9076
Author: Eric Gao <er...@gmail.com>
AuthorDate: Sat Nov 12 23:37:01 2022 +0800

    Update github mergeable label regex (#12815)
---
 .github/mergeable.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/mergeable.yml b/.github/mergeable.yml
index a68c016c0c..f1d1a54048 100644
--- a/.github/mergeable.yml
+++ b/.github/mergeable.yml
@@ -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`'