feat: support --issue-label-exclusive
All checks were successful
build / build (push) Successful in 2m18s
build / trigger-build-image (push) Successful in 10s

This commit is contained in:
张泊明518370910136 2025-06-25 05:00:20 -04:00
parent 4d3f77d6d0
commit c428d51706
GPG Key ID: D47306D7062CDA9D
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class Groups(BaseModel):
class Label(BaseModel):
name: str = "Kind/Testing"
color: str = "#795548"
exclusive: bool = False
class Issue(BaseModel):

View File

@ -45,6 +45,8 @@ def get_teapot_post_stage(
"--scoreboard-filename",
task_conf.scoreboard,
]
if repo_conf.issue.label.exclusive:
args.append("--issue-label-exclusive")
if not repo_conf.issue.show_submitter:
args.append("--no-submitter-in-issue-title")
if task_conf.time.end: