mirror of
https://github.com/pacnpal/Claude-code-review.git
synced 2025-12-20 04:11:04 -05:00
Update action.js
This commit is contained in:
@@ -33,6 +33,8 @@ async function setupGitConfig() {
|
|||||||
// Configure git to fetch PR refs
|
// 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', ['config', '--local', '--add', 'remote.origin.fetch', '+refs/pull/*/head:refs/remotes/origin/pr/*']);
|
||||||
await exec('git', ['fetch', 'origin']);
|
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) {
|
async function getDiff(baseSha, headSha) {
|
||||||
|
|||||||
Reference in New Issue
Block a user