BrewTestBot
brew test-bot is Homebrew’s continuous-integration orchestration command, originally funded by our Kickstarter in 2013.
Homebrew’s GitHub Actions workflows run it on macOS and Linux runners to build bottles and test the lifecycle of changes to Homebrew and its taps.
The workflow definitions are the authoritative description of the current runner and job configuration.
Use brew test-bot --only-packages-detect to report added, modified and deleted formulae and casks without installing them.
In GitHub Actions it writes testing_formulae, added_formulae, deleted_formulae and the corresponding cask lists to GITHUB_OUTPUT.
The older --only-formulae-detect spelling is an alias for --only-packages-detect.
Homebrew/core passes its formula lists to brew determine-test-runners.
Homebrew/cask runs brew determine-test-runners --cask "$TESTING_CASKS" "$ADDED_CASKS" and supplies the pull request URL with --url to apply CI labels.
Pull requests
The bot automatically builds pull requests and updates their status depending on the result of the job.
For example, a job which has been queued but not yet completed will have a section in the pull request that looks like this:

A failed build looks like this:

A passed build that’s been approved to merge looks like this:

On failed or passed builds you can click the “Details” link for each check to view its output in GitHub Actions.