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

zhongjiajie 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 0ff34b8730 [ci] Fix mergeable for ddl change and remove label unexpect 
(#7099)
0ff34b8730 is described below

commit 0ff34b8730643eb13aba89cf0d6b3a42f26817f3
Author: Jiajie Zhong <[email protected]>
AuthorDate: Wed Jun 1 09:32:50 2022 +0800

    [ci] Fix mergeable for ddl change and remove label unexpect (#7099)
---
 .github/mergeable.yml | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/.github/mergeable.yml b/.github/mergeable.yml
index 2984389135..400b639b8d 100644
--- a/.github/mergeable.yml
+++ b/.github/mergeable.yml
@@ -22,17 +22,20 @@ mergeable:
     validate:
       # Sql files must change synchronize
       - do: dependent
-        files: ['sql/dolphinscheduler_h2.sql', 
'sql/dolphinscheduler_mysql.sql', 'sql/dolphinscheduler_postgre.sql']
+        files:
+          - 
'dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql'
+          - 
'dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql'
+          - 
'dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql'
         message: 'Sql files not change synchronize'
-    # Add labels 'sql not sync' if Sql files not change synchronize
+    # Add labels 'sql not sync' and comment to reviewers if Sql files not 
change synchronize
     fail:
-      - do: checks
-        status: 'failure'
+      - do: comment
+        payload:
+          body: >
+            :warning: This PR do not change database DDL synchronize.
       - do: labels
         add: 'sql not sync'
     # Remove labels 'sql not sync' if pass
     pass:
-      - do: checks
-        status: 'success'
       - do: labels
         delete: 'sql not sync'

Reply via email to