Skip to content

Commit

Permalink
feat: leave comment on force quit
Browse files Browse the repository at this point in the history
  • Loading branch information
BoYanZh committed Oct 1, 2024
1 parent 131fd5a commit bc6d858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions joint_teapot/utils/joj3.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ def generate_title_and_comment(
comment = f"Generated by [Gitea Actions #{run_number}]({action_link})\n"
for stage in stages:
comment += f"## {stage['name']}"
if stage["force_quit"] == True:
force_quit = stage["force_quit"]
if force_quit:
comment += " - Failed"
continue
single_case = len(stage["results"]) == 1
if single_case:
comment += f" - Score: {stage['results'][0]['score']}"
Expand Down

0 comments on commit bc6d858

Please sign in to comment.