-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
formulae_detect: fetch @added_formulae
too
#1066
Conversation
This should prevent accidentally merging PRs for new formulae without bottles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense! When does this normally occur?
Does |
If you press the "Merge" button instead of doing
Doesn't seem so. See PR linked above. |
Looks like it detected correctly: https://github.com/Homebrew/homebrew-core/actions/runs/9090983591/job/24984732312#step:4:31 |
Ah, actually |
The bug is on the test rather than the detection side - we don't actually demand a bottle block exists: homebrew-test-bot/lib/tests/bottles_fetch.rb Lines 25 to 30 in 54dd84d
|
Good catch @Bo98. Yeh, requiring bottles always there for homebrew/core makes sense. (unrelatedly: I think it would be really nice if pressing the merge button did actually work one day; perhaps it could push the bottle commits to the PR and then fail?) |
Could try calling |
I don't think |
Yup, but each PR gets its own run within a |
Yes, should be. Should also be possible to infer each PR programmatically. |
This should prevent accidentally merging PRs for new formulae without bottles.