Skip to content

Commit fea91bb

Browse files
committed
fix(ci): configure git identity for brew tap-new in smoke tests
- Add git config before brew tap-new to avoid 'empty ident name' error - Required for GitHub Actions runners without git identity
1 parent 7947e0f commit fea91bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/homebrew.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
3737
- name: Run brew audit (without installation)
3838
run: |
39+
echo "Configuring git for brew tap-new..."
40+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
41+
git config --global user.name "github-actions[bot]"
42+
3943
echo "Creating temporary local tap..."
4044
brew tap-new mflowcode/test
4145
cp packaging/homebrew/mfc.rb $(brew --repository)/Library/Taps/mflowcode/homebrew-test/Formula/mfc.rb

0 commit comments

Comments
 (0)