feat: support --issue-label-exclusive
This commit is contained in:
		
							parent
							
								
									4d3f77d6d0
								
							
						
					
					
						commit
						c428d51706
					
				|  | @ -23,6 +23,7 @@ class Groups(BaseModel): | ||||||
| class Label(BaseModel): | class Label(BaseModel): | ||||||
|     name: str = "Kind/Testing" |     name: str = "Kind/Testing" | ||||||
|     color: str = "#795548" |     color: str = "#795548" | ||||||
|  |     exclusive: bool = False | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class Issue(BaseModel): | class Issue(BaseModel): | ||||||
|  |  | ||||||
|  | @ -45,6 +45,8 @@ def get_teapot_post_stage( | ||||||
|         "--scoreboard-filename", |         "--scoreboard-filename", | ||||||
|         task_conf.scoreboard, |         task_conf.scoreboard, | ||||||
|     ] |     ] | ||||||
|  |     if repo_conf.issue.label.exclusive: | ||||||
|  |         args.append("--issue-label-exclusive") | ||||||
|     if not repo_conf.issue.show_submitter: |     if not repo_conf.issue.show_submitter: | ||||||
|         args.append("--no-submitter-in-issue-title") |         args.append("--no-submitter-in-issue-title") | ||||||
|     if task_conf.time.end: |     if task_conf.time.end: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user