Add new workflow to update homebrew formula on release (#341)

* Add new homebrew workflow

* Review comments

* Review comments
This commit is contained in:
Chris Apple 2024-02-02 10:28:08 -08:00 committed by GitHub
parent 7bc6f9e9d2
commit 091d2f77ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
.github/workflows/brew.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Homebrew
on:
workflow_run:
workflows:
- "Release"
types:
- completed
jobs:
brew:
runs-on: ubuntu-latest
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
token: ${{secrets.BREW_TOKEN}}
# Formula name, required
formula: forgit