It should be a manually triggered job (workflow_dispatch) and read from an input the name of a formula f and do the following:
- if
f exists in this tap, then remove its bottle and the bottles of any dependents of f
- if
f is from homebrew-core, then remove the bottles of any formula in this tap that depend on f
Use brew bump-revision --remove-bottle-block, possibly using the script from https://github.com/osrf/homebrew-simulation#to-disable-broken-bottles
It also needs to fork, push, and open a pull request for those changes.