feat: support --no-submitter-in-issue-title in teapot
All checks were successful
build / build (push) Successful in 4m6s

This commit is contained in:
张泊明518370910136 2025-06-01 19:08:25 -04:00
parent 9a6b75da0a
commit 887c06b40e
GPG Key ID: D47306D7062CDA9D
2 changed files with 3 additions and 0 deletions

View File

@ -28,3 +28,4 @@ class Config(BaseModel):
path: Path = Path("repo.toml")
grading_repo_name: str = f"{socket.gethostname().split('-')[0]}-joj"
health_check_score: int = Field(0)
submitter_in_issue_title: bool = True

View File

@ -16,6 +16,8 @@ def get_teapot_stage(repo_conf: repo.Config) -> result.StageDetail:
"--max-total-score",
str(repo_conf.max_total_score),
]
if not repo_conf.submitter_in_issue_title:
args.append("--no-submitter-in-issue-title")
stage_conf = result.StageDetail(
name="teapot",