Skip to content

Commit

Permalink
Merge pull request #7 from dolittle/add-code
Browse files Browse the repository at this point in the history
Add author to commit
  • Loading branch information
woksin authored Jul 12, 2020
2 parents 3c144da + 680e519 commit 478c00f
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 478c00f

Please sign in to comment.