Closed mdelapenya closed 6 years ago
@mdelapenya sorry to comment on something old, but I need this too. Isnt that what the "default_branch" setting in the local config file is used for?
Is it possible to define it per repository? Or is it a single value?
my use case is more globally applicable, however, according to the docs, you can create a .gh.json file in the projects themselves, which can be used to override any global settings.
Closing, as per @stguitar comment. Thanks!!
I'd like to send any pull request to a repository's default branch, instead of always
master
. There are some teams using adev
ordevelopment
branch, and they always have to add the-b branch
parameter, which sometimes they/we forget.Github repositories API has a default_branch element, that could be used to trigger the current PR, could the project use that element to send the pull request against it?
Or could it be configured in a local configuration?
Thanks!