[ci] mergable do not handle label (#10638)

mergable some time will become crazy and adding
or deleting labels in the PR. This affects the
user experience. I try to solve it in #7099 but
it is seems not affect and we should remove the
label and comment operation and only should the
result in check result.
This commit is contained in:
Jiajie Zhong 2022-06-27 20:22:58 +08:00 committed by GitHub
parent 1f46078ab8
commit bbc1e052ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/mergeable.yml vendored
View File

@ -27,15 +27,16 @@ mergeable:
- 'dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql' - 'dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql'
- 'dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.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' and comment to reviewers if Sql files not change synchronize # Temporary comment this because sometime mergable will become mad keep adding or deleting the label
fail: # # Add labels 'sql not sync' and comment to reviewers if Sql files not change synchronize
- do: comment # fail:
payload: # - do: comment
body: > # payload:
:warning: This PR do not change database DDL synchronize. # body: >
- do: labels # :warning: This PR do not change database DDL synchronize.
add: 'sql not sync' # - do: labels
# Remove labels 'sql not sync' if pass # add: 'sql not sync'
pass: # # Remove labels 'sql not sync' if pass
- do: labels # pass:
delete: 'sql not sync' # - do: labels
# delete: 'sql not sync'