Update Homebrew Formula on Release #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Homebrew Formula on Release | |
| on: | |
| workflow_run: | |
| workflows: ["Create Release"] | |
| types: [completed] | |
| branches: [main] | |
| jobs: | |
| trigger-homebrew-update: | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger homebrew formula update | |
| uses: peter-evans/repository-dispatch@v4 | |
| with: | |
| token: ${{ secrets.HOMEBREW_TAP_TOKEN }} | |
| repository: tuannvm/homebrew-mcp | |
| event-type: update-formula | |
| client-payload: '{"repository": "tuannvm/mcp-trino", "formula": "mcp-trino.rb"}' |