Skip to content

workflows/docs: remove cache-homebrew-prefix usage in formulae.brew.sh#21778

Merged
ZhongRuoyu merged 1 commit intomainfrom
docs-formulae.brew.sh
Mar 19, 2026
Merged

workflows/docs: remove cache-homebrew-prefix usage in formulae.brew.sh#21778
ZhongRuoyu merged 1 commit intomainfrom
docs-formulae.brew.sh

Conversation

@ZhongRuoyu
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?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

This unblocks formulae.brew.sh CI. For reasoning, see Homebrew/formulae.brew.sh#2155.

Copilot AI review requested due to automatic review settings March 19, 2026 19:28
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

Updates the documentation GitHub Actions workflow to avoid using the cache-homebrew-prefix action when the workflow runs in the Homebrew/formulae.brew.sh repository, unblocking that repository’s CI while keeping the existing caching behavior for other repos.

Changes:

  • Gate Homebrew/actions/cache-homebrew-prefix@main behind a github.repository != 'Homebrew/formulae.brew.sh' condition.
  • Add a formulae.brew.sh-specific step that installs vale and ruby via brew install instead.

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

@ZhongRuoyu ZhongRuoyu enabled auto-merge March 19, 2026 19:30
@ZhongRuoyu ZhongRuoyu added this pull request to the merge queue Mar 19, 2026
Merged via the queue into main with commit 0f7b6e1 Mar 19, 2026
42 checks passed
@ZhongRuoyu ZhongRuoyu deleted the docs-formulae.brew.sh branch March 19, 2026 20:02
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