Skip to content

Fix donation link#23098

Merged
ZhongRuoyu merged 1 commit into
mainfrom
23096-donation-link
Jul 14, 2026
Merged

Fix donation link#23098
ZhongRuoyu merged 1 commit into
mainfrom
23096-donation-link

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member

Fixes #23096


  • Have you followed our Contributing guidelines?
  • Have you checked for other open Pull Requests for the same change?
  • Have you explained what your changes do? Performance claims (e.g. "this is faster") must include Hyperfine benchmarks.
  • Have you explained why you'd like these changes included, not just what they do?
  • For bug fixes, have you given step-by-step brew commands to reproduce the bug?
  • Have you written new tests (excluding integration tests)? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) locally?

  • AI was used to generate or assist with generating this PR.

OpenAI Codex 5.5 xhigh with local review and testing.


Copilot AI review requested due to automatic review settings July 14, 2026 08:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates Homebrew’s update-report donation prompt to point directly to the correct “Donations” section anchor in the Homebrew/brew README, and adds a regression spec to ensure the link stays correct.

Changes:

  • Update the donation URL fragment from #donations to #-donations in donation_message.
  • Add an RSpec example asserting the donation message output includes the corrected URL.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Library/Homebrew/cmd/update-report.rb Updates the donation prompt URL to use the correct README anchor (#-donations).
Library/Homebrew/test/cmd/update-report_spec.rb Adds a regression test ensuring the donation message prints the corrected donations-section link.

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

@ZhongRuoyu ZhongRuoyu enabled auto-merge July 14, 2026 08:25
@ZhongRuoyu ZhongRuoyu added this pull request to the merge queue Jul 14, 2026
Merged via the queue into main with commit f40cb3e Jul 14, 2026
43 checks passed
@ZhongRuoyu ZhongRuoyu deleted the 23096-donation-link branch July 14, 2026 08:50
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.

Donation link is not correct

5 participants