Skip to content

Commit 63fd2ba

Browse files
authored
Add new workflow to update homebrew formula on release (#342)
1 parent ab7400d commit 63fd2ba

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/brew.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Homebrew
2+
3+
on:
4+
workflow_run:
5+
workflows:
6+
- "Release"
7+
types:
8+
- completed
9+
10+
jobs:
11+
brew:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Update Homebrew formula
15+
uses: dawidd6/action-homebrew-bump-formula@v3
16+
with:
17+
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
18+
token: ${{secrets.BREW_TOKEN}}
19+
# Formula name, required
20+
formula: forgit

0 commit comments

Comments
 (0)