Closed LoipesMas closed 1 year ago
Thanks for the PR (and sorry for the late response). The changes look good to me but can you please document the new config option in the README and docs?
I updated the README, but I'm not sure what to update in the docs, since their config entry just points to the README.
Thanks! You are right, in that case, adding that to the README is enough. Thanks for the PR!
Describe what this PR does / why we need it
Adds config option
always_select_remote
that gives select prompt for base repo when creating a PR.Does this pull request fix one issue?
Fixes #334
Describe how you did it
I added function to get all configured remotes in the current repo, then I parse it and display it in
inputlist
and use it as base repo. This only happens ifalways_select_remote
is set totrue
. Otherwise the behaviour is same as before.Describe how to verify it
Set
always_select_remote
totrue
:Octo pr create
Prompt with remotes should be displayed Select a repo from the list Selected repo should be used as base repo for the PRSpecial notes for reviews
My lua skills are pretty basic, so feel free to suggest/make any improvements