8000 fix homebrew audit step: strict audit plus style with Desc cop excepted by jrnxf · Pull Request #34 · jrnxf/thokr · GitHub
[go: up one dir, main page]

Skip to content

fix homebrew audit step: strict audit plus style with Desc cop excepted - #34

Merged
jrnxf merged 1 commit into
mainfrom
fm/thokr-brew-audit-fix
Oct 13, 2026
Merged

jrnxf merged 1 commit into
mainfrom
fm/thokr-brew-audit-fix

Conversation

@jrnxf
@jrnxf jrnxf commented Oct 13, 2026
Copy link
Copy Markdown
Owner

The homebrew job fails at the audit step on main: brew audit rejects --except-cops together with --strict ("Options --except-cops and --strict are mutually exclusive").

This splits the audit into two valid steps:

  • brew audit --strict --skip-style - the full strict formula audit, without its RuboCop part.
  • brew style --except-cops=FormulaAudit/Desc - the RuboCop style checks, run by themselves.

Still run: install, test, strict audit, and every style cop.
Exempt: the single FormulaAudit/Desc cop, which wants a capital first letter in the description. The lowercase description is the owner's choice and the formula is unchanged.

Only .github/workflows/build.yml changes. The homebrew job on this PR (macOS) is the proof.

@jrnxf
jrnxf merged commit 8a7cb17 into main Oct 13, 2026
6 checks passed
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.

1 participant

0