feat: remove trigger actor

This commit is contained in:
张泊明518370910136 2024-11-25 02:12:24 -05:00
parent c09d95161d
commit 8499278231
GPG Key ID: CA088E6D9284F870

View File

@ -473,10 +473,6 @@ def joj3_all(
"unknown",
help="JOJ3 run ID",
),
triggering_actor: str = Argument(
"unknown",
help="actor that triggers the gitea actions run",
),
max_total_score: int = Option(
-1,
help="max total score",
@ -597,7 +593,7 @@ def joj3_all(
repo_name,
[scoreboard_file_name],
(
f"joj3: update scoreboard for {exercise_name} by @{triggering_actor} in "
f"joj3: update scoreboard for {exercise_name} by @{submitter} in "
f"{settings.gitea_org_name}/{submitter_repo_name}@{commit_hash}\n\n"
f"gitea actions link: {gitea_actions_url}\n"
f"gitea issue link: {gitea_issue_url}"
@ -615,7 +611,7 @@ def joj3_all(
repo_name,
[failed_table_file_name],
(
f"joj3: update failed table for {exercise_name} by @{triggering_actor} in "
f"joj3: update failed table for {exercise_name} by @{submitter} in "
f"{settings.gitea_org_name}/{submitter_repo_name}@{commit_hash}\n\n"
f"gitea actions link: {gitea_actions_url}\n"
f"gitea issue link: {gitea_issue_url}"