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

This commit is contained in:
Chris Apple 2024-02-02 13:54:42 -08:00 committed by GitHub
parent ab7400ddb3
commit 63fd2ba998
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