Skip to content

Conversation

@p-linnane
Copy link
Member

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

Rather than running brew style on Homebrew/core and Homebrew/cask in separate workflow steps, this PR combines them into a single step.

When run separately, the job often fails on issues in Homebrew/core, which are fixed, only for reruns to surface similar issues in Homebrew/cask. Because the first failure stops the job, we don’t get a complete view of style issues across both taps in one run.

Unifying the checks allows all style violations to be reported at once and addressed together.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
Copilot AI review requested due to automatic review settings December 24, 2025 17:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR combines two separate brew style workflow steps that check Homebrew/core and Homebrew/cask into a single unified step. This optimization ensures that style violations in both official taps are reported together in a single workflow run, rather than potentially requiring multiple re-runs when issues exist in both taps.

  • Merged two sequential brew style commands into one step
  • Updated step name to reflect checking "official taps" (plural)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as this is definitely now checking both: 👍🏻

@p-linnane
Copy link
Member Author

I used it to identify formulae and casks in #21316, so can confirm it works as intended.

@p-linnane p-linnane added this pull request to the merge queue Dec 24, 2025
Merged via the queue into main with commit 372e4f5 Dec 24, 2025
62 of 63 checks passed
@p-linnane p-linnane deleted the brew-style-one-step branch December 24, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants