Skip to content

Commit aaf5a6f

Browse files
committed
plugins: homebrew: Add "brew audit" to allowlist
Signed-off-by: Matt Coster <opensource@mtcoster.net>
1 parent 36e4bf4 commit aaf5a6f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

plugins/homebrew/brew.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ func HomebrewCLI() schema.Executable {
1515
NeedsAuth: needsauth.IfAll(
1616
needsauth.NotForHelpOrVersion(),
1717
needsauth.IfAny(
18-
needsauth.ForCommand("search"),
18+
needsauth.ForCommand("audit"),
1919
needsauth.ForCommand("bump"),
2020
needsauth.ForCommand("bump-cask-pr"),
2121
needsauth.ForCommand("bump-formula-pr"),
22-
needsauth.ForCommand("update"),
23-
needsauth.ForCommand("upgrade"),
2422
needsauth.ForCommand("install"),
2523
needsauth.ForCommand("reinstall"),
24+
needsauth.ForCommand("search"),
25+
needsauth.ForCommand("update"),
26+
needsauth.ForCommand("upgrade"),
2627
),
2728
),
2829
Uses: []schema.CredentialUsage{

0 commit comments

Comments
 (0)