Commit 616cc090 authored by Grant's avatar Grant
Browse files

fetcher: add year label to mrs

parent a4f64fc0
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -15,5 +15,6 @@ def git_commit(post_id: int):
	def git_mr_title(post_name: str):
		return "Add submission: " + post_name
	
	def git_mr_description(post_id: int):
		return "An automated MR for submission https://toast.ooo/post/{}".format(str(post_id))
 No newline at end of file
	def git_mr_description(post_id: int, year: int):
		return """An automated MR for submission https://toast.ooo/post/{}
/labels ~\"year::{}\"""".format(str(post_id), str(year))
 No newline at end of file