mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Use only one comment for all statuses in the PR
This commit is contained in:
parent
61c6c61638
commit
20c8f0f1b4
@ -163,9 +163,10 @@ def generate_status_comment(pr_info: PRInfo, statuses: CommitStatuses) -> str:
|
|||||||
worst_state = f"The overall status of the commit is {beauty_state(worst_state)}"
|
worst_state = f"The overall status of the commit is {beauty_state(worst_state)}"
|
||||||
|
|
||||||
comment_body = (
|
comment_body = (
|
||||||
f"<!-- commit {pr_info.sha} automatic status comment -->\n"
|
f"<!-- automatic status comment for PR #{pr_info.number} "
|
||||||
f"This is an automated comment for commit `{pr_info.sha}` with "
|
f"from {pr_info.head_name}:{pr_info.head_ref} -->\n"
|
||||||
f"description of existing statuses\n"
|
f"This is an automated comment for commit {pr_info.sha} with "
|
||||||
|
f"description of existing statuses. It's updated for the latest CI running\n"
|
||||||
f"The full report is available [here]({report_url})\n"
|
f"The full report is available [here]({report_url})\n"
|
||||||
f"{worst_state}\n\n<table>"
|
f"{worst_state}\n\n<table>"
|
||||||
"<thead><tr><th>Check name</th><th>Description</th><th>Status</th></tr></thead>\n"
|
"<thead><tr><th>Check name</th><th>Description</th><th>Status</th></tr></thead>\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user