fix: total score penalty warning
All checks were successful
build / trigger-build-image (push) Successful in 11s
All checks were successful
build / trigger-build-image (push) Successful in 11s
This commit is contained in:
parent
0989e4ebd3
commit
c3b053f0a5
|
@ -236,9 +236,7 @@ def generate_title_and_comment(
|
|||
"[Joint-Teapot](https://github.com/BoYanZh/Joint-Teapot) with ❤️.\n"
|
||||
)
|
||||
if penalty_factor != 1.0:
|
||||
comment += (
|
||||
f"## Total Score Penalty Warning\nThe total score is multiplied by 0.75.\n"
|
||||
)
|
||||
comment += f"## ⚠️Total Score Penalty Warning⚠️\n**The total score is multiplied by {penalty_factor}.**\n"
|
||||
for stage in stages:
|
||||
if all(
|
||||
result["score"] == 0 and result["comment"].strip() == ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user