Add way to avoid adding --browse to "hub pull-request" for bump-formula-pr #2468
Closed
4 tasks done
Labels
outdated
PR was locked due to age
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?brew config
andbrew doctor
and included their output with your issue?When running
brew bump-formula-pr
, it always passes the--browse
argument tohub pull-request
(code ref: https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L322). This doesn't work when running on a headless server such as a CI system, as these systems intentionally don't have a browser configured.I encountered this on Linuxbrew but the code is exactly the same in Homebrew.
I'd suggest adding some configuration options, or a
--non-interactive
command-line option which would avoid anything that does not work in this environment.Also see yarnpkg/yarn#2841
brew config
output:The text was updated successfully, but these errors were encountered: