mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 16:02:32 +00:00
fix: Add --yes flag to gh pr merge command (#142)
* fix: squash and merge issue - fix: squash and merge issue * fix: use GH_PROMPT_DISABLED instead of invalid --yes flag
This commit is contained in:
@@ -251,7 +251,8 @@ export async function mergePR(
|
||||
try {
|
||||
await execFileAsync('gh', ['pr', 'merge', String(prNumber), `--${method}`, '--delete-branch'], {
|
||||
cwd: repoPath,
|
||||
encoding: 'utf-8'
|
||||
encoding: 'utf-8',
|
||||
env: { ...process.env, GH_PROMPT_DISABLED: '1' }
|
||||
})
|
||||
return { ok: true }
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user