From 858759a5bf5a8c3be39b324e691ada23af47c8fe Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Wed, 16 Oct 2024 16:29:08 -0400 Subject: [PATCH] feat: commit message with link to actor --- joint_teapot/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/joint_teapot/app.py b/joint_teapot/app.py index db4948b..b07199b 100644 --- a/joint_teapot/app.py +++ b/joint_teapot/app.py @@ -268,7 +268,7 @@ def joj3_scoreboard( + f"actions/runs/{run_number}" ) commit_message = ( - f"joj3: update scoreboard by {submitter} in {submitter_repo_name}\n\n" + f"joj3: update scoreboard by @{submitter} in {submitter_repo_name}\n\n" + f"gitea actions link: {actions_link}" ) tea.pot.git.add_commit_and_push(repo_name, [scoreboard_file_name], commit_message) @@ -337,7 +337,7 @@ def joj3_failed_table( actions_link, ) commit_message = ( - f"joj3: update failed table by {submitter} in {submitter_repo_name}\n\n" + f"joj3: update failed table by @{submitter} in {submitter_repo_name}\n\n" + f"gitea actions link: {actions_link}" ) tea.pot.git.add_commit_and_push(