From 9c7673b2793945a46af2fa93c496adeb71f0aa19 Mon Sep 17 00:00:00 2001 From: shivasurya Date: Mon, 24 Nov 2025 20:29:31 -0500 Subject: [PATCH] feat(release): Add Homebrew tap update trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After publishing a release, automatically trigger the homebrew-tap update-formula workflow to create a PR with the new version. Requires TAP_GITHUB_TOKEN secret with access to homebrew-tap repo. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5dd1c8b4..64d4dc18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -410,4 +410,13 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./pathfinder-darwin-amd64.sha256sum.txt asset_name: pathfinder-darwin-amd64.sha256sum.txt - asset_content_type: text/plain \ No newline at end of file + asset_content_type: text/plain + + # Trigger Homebrew tap formula update + - name: Trigger Homebrew tap update + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.TAP_GITHUB_TOKEN }} + repository: shivasurya/homebrew-tap + event-type: new-release + client-payload: '{"version": "${{ github.ref_name }}"}' \ No newline at end of file