From 680e519d05c5842c91bd1fd8d09dfa8e89b878ae Mon Sep 17 00:00:00 2001 From: Sindre Wilting Date: Sun, 12 Jul 2020 08:31:18 +0200 Subject: [PATCH] Add author to commit --- Source/action.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/action.ts b/Source/action.ts index 1dce4ef..d1817d0 100644 --- a/Source/action.ts +++ b/Source/action.ts @@ -24,7 +24,10 @@ export async function run() { changeVersionNumbers(version, project); await exec( 'git commit', - [`-am "Update packages and workspace dependencies to ${version}"`], + [ + '--author="github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"', + `-am "Update packages and workspace dependencies to ${version}"` + ], { cwd: root, ignoreReturnCode: true}); const branchName = path.basename(github.context.ref); await exec(