From 132f02c5ac578435cd59987af8b05ae4dfb81f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= Date: Sat, 14 Dec 2024 12:03:49 +0100 Subject: [PATCH] PULL_REQUEST_TEMPLATE: pass --installed to brew On a `--new` formula, after successful local `brew install`, `brew audit --new formula_or_formula_filename` will otherwise fail due to the formula not being available from a cask, and, to quote, ``` $ brew audit --new rpds-py.rb Error: Calling brew audit [path ...] is disabled! Use brew audit [name ...] instead. Please report this issue: https://docs.brew.sh/Troubleshooting $ brew audit --new rpds-py Error: These formulae are not in any locally installed taps! rpds-py You may need to run `brew tap` to install additional taps. ``` --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 027521355d03f..5acd4a10d689b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,6 +5,6 @@ - [ ] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change? - [ ] Have you built your formula locally with `HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source `, where `` is the name of the formula you're submitting? - [ ] Is your test running fine `brew test `, where `` is the name of the formula you're submitting? -- [ ] Does your build pass `brew audit --strict ` (after doing `HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source `)? If this is a new formula, does it pass `brew audit --new `? +- [ ] Does your build pass `brew audit --strict ` (after doing `HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source `)? If this is a new formula, does it pass `brew audit --new --installed `? -----