Skip to content

Commit

Permalink
Add author to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
woksin committed Jul 12, 2020
1 parent b22c30a commit 680e519
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 680e519

Please sign in to comment.