mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Remove accidentally committed code
This commit is contained in:
parent
51781a6a86
commit
699bf031c9
@ -105,12 +105,10 @@ def main():
|
||||
for commit in unreleased_commits:
|
||||
logger.info("Checking statuses of commit %s", commit.sha)
|
||||
statuses = get_commit_filtered_statuses(commit)
|
||||
# all_success = all(st.state == SUCCESS_STATUS for st in statuses)
|
||||
# has_ready_for_release_check = any(
|
||||
# st.context == READY_FOR_RELEASE_CHECK_NAME for st in statusess
|
||||
# )
|
||||
all_success = True
|
||||
has_ready_for_release_check = True
|
||||
all_success = all(st.state == SUCCESS_STATUS for st in statuses)
|
||||
has_ready_for_release_check = any(
|
||||
st.context == READY_FOR_RELEASE_CHECK_NAME for st in statusess
|
||||
)
|
||||
if not (all_success and has_ready_for_release_check):
|
||||
logger.info("Commit is not green, thus not suitable for release")
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user