This work implements Autobump patch removal from stable block leaves the formula in a broken style (closed)
brew doctor output
N/A
Verification
- [x] I ran
brew updatetwice and am still able to reproduce my issue. - [x] I have supplied my
brew doctoroutput above and it seems unrelated to my issue. - [x] This issue's title and/or description do not reference a single formula e.g.
brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead. - [x] I did not use AI/LLM to create this issue, or I disclosed the tool and model used; I will answer maintainer questions myself without AI/LLM.
brew config output
N/A
What were you trying to do (and why)?
The autobump CI ran into a formula with patches in the stable block, removed them and then couldn't create the PR because it left a stable block with only a URL and shasum.
What happened (include all command output)?
https://github.com/Homebrew/homebrew-core/actions/runs/39371747837/job/118460942682#step:6:28631
What did you expect to happen?
I expected autobump to create a PR that failed the style check, or kept the patches. Since knowing about the update is more important then having the patches cleaned up.
Step-by-step reproduction instructions (running brew commands)
brew bump --open-pr swctl
End of PR:
No more diffs beyond this point