forked from JOJ/Joint-Teapot
		
	feat: lower case run id
This commit is contained in:
		
							parent
							
								
									37f89ae57b
								
							
						
					
					
						commit
						f911eacf00
					
				|  | @ -464,7 +464,7 @@ def joj3_all( | |||
|         "", | ||||
|         help="commit hash that triggers gitea actions", | ||||
|     ), | ||||
|     run_ID: str = Argument( | ||||
|     run_id: str = Argument( | ||||
|         "unknown", | ||||
|         help="JOJ3 run ID", | ||||
|     ), | ||||
|  | @ -507,7 +507,7 @@ def joj3_all( | |||
|             submitter, | ||||
|             commit_hash, | ||||
|             submitter_in_issue_title, | ||||
|             run_ID, | ||||
|             run_id, | ||||
|         ) | ||||
|         title_prefix = joj3.get_title_prefix(title) | ||||
|         joj3_issue: focs_gitea.Issue | ||||
|  |  | |||
|  | @ -187,7 +187,7 @@ def generate_title_and_comment( | |||
|     submitter: str, | ||||
|     commit_hash: str, | ||||
|     submitter_in_title: bool = True, | ||||
|     run_ID: str = "unknown", | ||||
|     run_id: str = "unknown", | ||||
| ) -> Tuple[str, str]: | ||||
|     with open(score_file_path) as json_file: | ||||
|         stages: List[Dict[str, Any]] = json.load(json_file) | ||||
|  | @ -203,7 +203,7 @@ def generate_title_and_comment( | |||
|         f"Generated at {now} from [Gitea Actions #{run_number}]({action_link}), " | ||||
|         f"commit {commit_hash}, " | ||||
|         f"triggered by @{submitter}, " | ||||
|         f"run ID {run_ID}.\n" | ||||
|         f"run ID `{run_id}`.\n" | ||||
|         "Powered by [JOJ3](https://github.com/joint-online-judge/JOJ3) and " | ||||
|         "[Joint-Teapot](https://github.com/BoYanZh/Joint-Teapot) with ❤️.\n" | ||||
|     ) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user