Hi, I was wondering if it would be possible to add a simple boolean CLI flag / configuration to make backport PRs as drafts? I'd like to automate the process of creating the PR, but give users the chance to review the changes before automatically adding reviewers from CODEOWNERS and running CI, etc. We normally use draft PRs for this purpose in my organization.
Hi, I was wondering if it would be possible to add a simple boolean CLI flag / configuration to make
backport
PRs as drafts? I'd like to automate the process of creating the PR, but give users the chance to review the changes before automatically adding reviewers fromCODEOWNERS
and running CI, etc. We normally use draft PRs for this purpose in my organization.From what I can tell, it would be a simple plumb-through to the PR API: https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#create-a-pull-request--parameters If you'd like, I can take a stab at implementing this but I'd probably need some pointers to where the parameters are built for creating a PR.
Thanks!