artsy / update-repo

JS library for updating other repositories
MIT License
6 stars 1 forks source link

fix: use the targetBranch option to reset/pr #52

Closed dblandin closed 2 years ago

dblandin commented 2 years ago

Use the targetBranch option to reset the working directory to the correct git ref and open a pull request on GitHub with the correct base branch. This is usually the default branch like main but could be any pre-existing branch on GitHub. At the moment, the targetBranch option is exposed but it's no used.

Note: This change keeps the existing master default value but we'd like to change that default to main along with a breaking version bump.

artsyit commented 2 years ago

:rocket: PR was released in v0.5.0 :rocket: