fix: use KILO_GITHUB_TOKEN for cross-repo dispatch and add curl -f flag

This commit is contained in:
marius-kilocode
2026-02-04 09:20:40 +01:00
parent c07c218b6e
commit 733864e55e
+2 -2
View File
@@ -87,8 +87,8 @@ jobs:
- name: Update Homebrew Tap
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
curl -f -X POST \
-H "Authorization: token ${{ secrets.KILO_GITHUB_TOKEN }}" \
-H "Content-Type: application/json" \
https://api.github.com/repos/Kilo-Org/homebrew-tap/dispatches \
-d '{"event_type": "update-formula", "client_payload": {"version": "${{ inputs.version }}"}}'