Skip to content

Commit

Permalink
git config
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 10, 2024
1 parent dc4d0c4 commit fe2c3aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ class Github {
const shellOptions = {
verbose, raiseOnError: true, exitOnError: false,
};
await runShellCommand({ command: 'git config --local user.name "GitHub Action"', ...shellOptions });
await runShellCommand({ command: 'git config --local user.email "[email protected]"', ...shellOptions });
await runShellCommand({ command: 'git pull --rebase origin master', ...shellOptions });
await runShellCommand({ command: 'git push', ...shellOptions });
}
Expand Down

0 comments on commit fe2c3aa

Please sign in to comment.