feat: add powered by in joj3 comment
This commit is contained in:
parent
3b40174a64
commit
2ccce41807
|
@ -185,7 +185,11 @@ def generate_title_and_comment(
|
||||||
stages: List[Dict[str, Any]] = json.load(json_file)
|
stages: List[Dict[str, Any]] = json.load(json_file)
|
||||||
|
|
||||||
total_score = 0
|
total_score = 0
|
||||||
comment = f"Generated by [Gitea Actions #{run_number}]({action_link})\n"
|
comment = (
|
||||||
|
f"Generated from [Gitea Actions #{run_number}]({action_link}). "
|
||||||
|
+ "Powered by [JOJ3](https://github.com/joint-online-judge/JOJ3) and "
|
||||||
|
+ "[Joint-Teapot](https://github.com/BoYanZh/Joint-Teapot) with ❤️.\n"
|
||||||
|
)
|
||||||
for stage in stages:
|
for stage in stages:
|
||||||
comment += f"## {stage['name']}"
|
comment += f"## {stage['name']}"
|
||||||
force_quit = stage["force_quit"]
|
force_quit = stage["force_quit"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user