bump-formula-pr : how does it work in GitHub interactions ? #3383
Unanswered
lelegard
asked this question in
Writing Formulae/Casks
Replies: 1 comment 7 replies
-
See |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
This is maybe a dumb question but, surprisingly, I could not find any answer after an hour of googling.
How do you make
bump-formula-pr
work in practice?Specifically, when you run
brew bump-formula-pr -n
, it displays a list of commands which will be run. However, some of them are generic, for instance:Where does it fork the homebrew-core repo? Using which GitHub user? Does it use the
$HOMEBREW_GITHUB_API_TOKEN
?When I run this, I get an error "Unable to fork: Not Found!". My
$HOMEBREW_GITHUB_API_TOKEN
is set.Note: I use
-f
because another PR was created for the same formula by someone else but was closed and dropped a few days ago because of an issue on dependencies. It should work now, so I try to bump it again. I am not the author of thesrt
package, just a user who needs the new version.I already have a forked repository at lelegard/homebrew-core where I do my PR manually. Can it be used? Is this the reason for "Unable to fork"?
If I add the open
--no-fork
, it ends up asking forUsername for 'https://github.com':
. Since GitHub has ceased to allow login / password access, this is a bit surprising. Anyway, I just type in my GitHub user name and the command stalls forever.So, what does go wrong?
Can someone explain how does
bump-formula-pr
provides access credentials to fork and create the PR?Thanks for your help and explanations.
Beta Was this translation helpful? Give feedback.
All reactions