Skip to content

Commit e7f69bc

Browse files
polidogclaude
andcommitted
fix: Add GH_TOKEN for Homebrew formula update workflow
- Add HOMEBREW_TAP_TOKEN secret for gh CLI authentication - Add git user config for commits to homebrew-kilar repo - Remove unused create-pull-request step (script pushes directly) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 73473b2 commit e7f69bc

1 file changed

Lines changed: 4 additions & 23 deletions

File tree

.github/workflows/update-formula.yml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,9 @@ jobs:
3636
run: sleep 60
3737

3838
- name: Update formula
39+
env:
40+
GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
3941
run: |
42+
git config --global user.name "github-actions[bot]"
43+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
4044
./scripts/update-formula.sh "${{ steps.version.outputs.VERSION }}"
41-
42-
- name: Create Pull Request
43-
uses: peter-evans/create-pull-request@v5
44-
with:
45-
token: ${{ secrets.GITHUB_TOKEN }}
46-
commit-message: "chore: update Homebrew formula to ${{ steps.version.outputs.VERSION }}"
47-
title: "Update Homebrew formula to ${{ steps.version.outputs.VERSION }}"
48-
body: |
49-
This PR updates the Homebrew formula to version ${{ steps.version.outputs.VERSION }}.
50-
51-
## Changes
52-
- Updated version number
53-
- Updated SHA256 checksums for all platforms
54-
55-
## Checklist
56-
- [ ] SHA256 checksums verified
57-
- [ ] Formula syntax validated
58-
- [ ] Test installation locally
59-
branch: update-formula-${{ steps.version.outputs.VERSION }}
60-
delete-branch: true
61-
labels: |
62-
homebrew
63-
automation

0 commit comments

Comments
 (0)