forked from JOJ/Joint-Teapot
		
	feat: remove trigger actor
This commit is contained in:
		
							parent
							
								
									c09d95161d
								
							
						
					
					
						commit
						8499278231
					
				|  | @ -473,10 +473,6 @@ def joj3_all( | ||||||
|         "unknown", |         "unknown", | ||||||
|         help="JOJ3 run ID", |         help="JOJ3 run ID", | ||||||
|     ), |     ), | ||||||
|     triggering_actor: str = Argument( |  | ||||||
|         "unknown", |  | ||||||
|         help="actor that triggers the gitea actions run", |  | ||||||
|     ), |  | ||||||
|     max_total_score: int = Option( |     max_total_score: int = Option( | ||||||
|         -1, |         -1, | ||||||
|         help="max total score", |         help="max total score", | ||||||
|  | @ -597,7 +593,7 @@ def joj3_all( | ||||||
|                     repo_name, |                     repo_name, | ||||||
|                     [scoreboard_file_name], |                     [scoreboard_file_name], | ||||||
|                     ( |                     ( | ||||||
|                         f"joj3: update scoreboard for {exercise_name} by @{triggering_actor} in " |                         f"joj3: update scoreboard for {exercise_name} by @{submitter} in " | ||||||
|                         f"{settings.gitea_org_name}/{submitter_repo_name}@{commit_hash}\n\n" |                         f"{settings.gitea_org_name}/{submitter_repo_name}@{commit_hash}\n\n" | ||||||
|                         f"gitea actions link: {gitea_actions_url}\n" |                         f"gitea actions link: {gitea_actions_url}\n" | ||||||
|                         f"gitea issue link: {gitea_issue_url}" |                         f"gitea issue link: {gitea_issue_url}" | ||||||
|  | @ -615,7 +611,7 @@ def joj3_all( | ||||||
|                     repo_name, |                     repo_name, | ||||||
|                     [failed_table_file_name], |                     [failed_table_file_name], | ||||||
|                     ( |                     ( | ||||||
|                         f"joj3: update failed table for {exercise_name} by @{triggering_actor} in " |                         f"joj3: update failed table for {exercise_name} by @{submitter} in " | ||||||
|                         f"{settings.gitea_org_name}/{submitter_repo_name}@{commit_hash}\n\n" |                         f"{settings.gitea_org_name}/{submitter_repo_name}@{commit_hash}\n\n" | ||||||
|                         f"gitea actions link: {gitea_actions_url}\n" |                         f"gitea actions link: {gitea_actions_url}\n" | ||||||
|                         f"gitea issue link: {gitea_issue_url}" |                         f"gitea issue link: {gitea_issue_url}" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user