Skip to content

Commit

Permalink
fix pr script (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytori authored Jan 22, 2025
1 parent 6b89015 commit 2b74140
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/konjacbot/pr.mts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ log('normal', `PR body:\n${body}`)
log('normal', `PR label:${defaults.label}`)

if (!dryRun) {
await $`gh pr create -B ${defaults.baseBranch} -t ${title} -b ${body} -l ${defaults.label}`
// see https://github.com/cli/cli/issues/6485
await $`gh pr create -B ${defaults.baseBranch} -t ${title} -b ${body} -l ${defaults.label} --head $(git branch --show-current)`
}

log('important', '✅ PR created successfully !')

0 comments on commit 2b74140

Please sign in to comment.