diff --git a/action.js b/action.js index 3949a4b..34de59c 100644 --- a/action.js +++ b/action.js @@ -33,6 +33,8 @@ async function setupGitConfig() { // Configure git to fetch PR refs await exec('git', ['config', '--local', '--add', 'remote.origin.fetch', '+refs/pull/*/head:refs/remotes/origin/pr/*']); await exec('git', ['fetch', 'origin']); + await exec('git', ['config', '--global', 'user.name', 'claude-code-review[bot]']); + await exec('git', ['config', '--global', 'user.email', 'claude-code-review[bot]@users.noreply.github.com']); } async function getDiff(baseSha, headSha) {