Skip to content

Conversation

@cho-m
Copy link
Member

@cho-m cho-m commented Dec 23, 2025

  • 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?

Changes:

Not aware of any situation of a non-reserved Symbol (based on Homebrew/core), but can update this to be core-only if there is a valid use case for 3rd party taps.

Copilot AI review requested due to automatic review settings December 23, 2025 16:13
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 enhances formula auditing by adding validation for dependency tags to catch typos and invalid tag usage. The change extends the existing check for the deprecated :run tag to also check for :linked (another no-op tag) and validates that symbol tags are from the reserved set of valid tags.

  • Replaces single-line check for :run tag with a loop that validates all tags
  • Adds validation for :linked tag (documented as a no-op)
  • Adds validation to flag non-reserved symbol tags as invalid

💡 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.

This is great, thanks again @cho-m!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 23, 2025
Merged via the queue into main with commit 306ec54 Dec 23, 2025
37 checks passed
@MikeMcQuaid MikeMcQuaid deleted the formula_auditor-check-valid-tags branch December 23, 2025 17:10
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