Browse Source

[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.
3.1.0-release
Jiajie Zhong 2 years ago committed by GitHub
parent
commit
bbc1e052ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      .github/mergeable.yml

25
.github/mergeable.yml

@ -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'

Loading…
Cancel
Save