Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

ci: use the up-to-date docs on dispatching

Brad Barbinc76d2a6ff53e
diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml
index c54a043936..172d216afb 100644
--- a/.github/workflows/dispatch.yml
+++ b/.github/workflows/dispatch.yml
@@ -14,7 +14,10 @@ jobs:
steps:
- name: Dispatch to fiber
run: |
- curl -H "Accept: application/vnd.github.everest-preview+json" \
- -H "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \
- --request POST \
- --data '{"event_type": "release", "client_payload": { "key": ${{ secrets.DISPATCH_KEY_PROD }} }}' https://api.github.com/repos/${{ matrix.repo }}/dispatches
+ curl -L \
+ -X POST \
+ -H "Accept: application/vnd.github+json" \
+ -H "Authorization: Bearer ${{ secrets.DISPATCH_TOKEN }}" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ https://api.github.com/repos/${{ matrix.repo }}/dispatches \
+ -d '{"event_type":"release","client_payload":{"key": "${{ secrets.DISPATCH_KEY_PROD }}"}}'