Skip to content

Commit 914fa6d

Browse files
committed
ci(homebrew): fix brew audit to use formula name instead of path
1 parent 627034b commit 914fa6d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy-tap.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ jobs:
5353
- name: Audit/style formula before pushing
5454
run: |
5555
brew style packaging/homebrew/mfc.rb
56-
brew audit --online --strict --formula --new --except=homepage packaging/homebrew/mfc.rb || brew audit --online packaging/homebrew/mfc.rb
56+
# Create temporary tap to audit the formula
57+
brew tap-new mfc/local
58+
cp packaging/homebrew/mfc.rb "$(brew --repository)/Library/Taps/mfc/homebrew-local/Formula/mfc.rb"
59+
brew audit --online --strict --new --except=homepage mfc/local/mfc || brew audit --online mfc/local/mfc
60+
brew untap mfc/local
5761
5862
- name: Clone or bootstrap tap repository
5963
env:

0 commit comments

Comments
 (0)