|
|
@ -22,17 +22,20 @@ mergeable: |
|
|
|
validate: |
|
|
|
validate: |
|
|
|
# Sql files must change synchronize |
|
|
|
# Sql files must change synchronize |
|
|
|
- do: dependent |
|
|
|
- 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' |
|
|
|
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: |
|
|
|
fail: |
|
|
|
- do: checks |
|
|
|
- do: comment |
|
|
|
status: 'failure' |
|
|
|
payload: |
|
|
|
|
|
|
|
body: > |
|
|
|
|
|
|
|
:warning: This PR do not change database DDL synchronize. |
|
|
|
- do: labels |
|
|
|
- do: labels |
|
|
|
add: 'sql not sync' |
|
|
|
add: 'sql not sync' |
|
|
|
# Remove labels 'sql not sync' if pass |
|
|
|
# Remove labels 'sql not sync' if pass |
|
|
|
pass: |
|
|
|
pass: |
|
|
|
- do: checks |
|
|
|
|
|
|
|
status: 'success' |
|
|
|
|
|
|
|
- do: labels |
|
|
|
- do: labels |
|
|
|
delete: 'sql not sync' |
|
|
|
delete: 'sql not sync' |
|
|
|