feat: support --no-submitter-in-issue-title in teapot
All checks were successful
build / build (push) Successful in 4m6s
All checks were successful
build / build (push) Successful in 4m6s
This commit is contained in:
parent
9a6b75da0a
commit
887c06b40e
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user