mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
fix: use KILO_GITHUB_TOKEN for cross-repo dispatch and add curl -f flag
This commit is contained in:
@@ -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 }}"}}'
|
||||
|
||||
Reference in New Issue
Block a user