feat: comment "Failed" on force quit
This commit is contained in:
parent
d92e8114d8
commit
131fd5af0b
|
@ -189,6 +189,9 @@ def generate_title_and_comment(
|
||||||
comment = f"Generated by [Gitea Actions #{run_number}]({action_link})\n"
|
comment = f"Generated by [Gitea Actions #{run_number}]({action_link})\n"
|
||||||
for stage in stages:
|
for stage in stages:
|
||||||
comment += f"## {stage['name']}"
|
comment += f"## {stage['name']}"
|
||||||
|
if stage["force_quit"] == True:
|
||||||
|
comment += " - Failed"
|
||||||
|
continue
|
||||||
single_case = len(stage["results"]) == 1
|
single_case = len(stage["results"]) == 1
|
||||||
if single_case:
|
if single_case:
|
||||||
comment += f" - Score: {stage['results'][0]['score']}"
|
comment += f" - Score: {stage['results'][0]['score']}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user