Loading tools/lib/fetcher_messages.py +3 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
tools/lib/fetcher_messages.py +3 −2 Original line number Diff line number Diff line Loading @@ -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