From e12ad1e12d760646a06b003a87a37300bfe20d11 Mon Sep 17 00:00:00 2001 From: Juan Pablo Pino Bravo Date: Tue, 7 Jul 2026 14:53:22 +0200 Subject: [PATCH] Trigger protocol bump in blueye-ts after npm publish Dispatches a protocol-update event with the published version so blueye-ts can bump the dependency automatically. Co-Authored-By: Claude Fable 5 --- .github/workflows/ci-typescript.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci-typescript.yaml b/.github/workflows/ci-typescript.yaml index 1c174753..f60672ff 100644 --- a/.github/workflows/ci-typescript.yaml +++ b/.github/workflows/ci-typescript.yaml @@ -57,3 +57,12 @@ jobs: SHORT_SHA=${GITHUB_SHA::8} pnpm version --no-git-tag-version "${VERSION}-${SHORT_SHA}" pnpm publish --no-git-checks --access public --tag latest + echo "PROTOCOL_VERSION=${VERSION}-${SHORT_SHA}" >> "$GITHUB_ENV" + + - name: Trigger protocol bump in blueye-ts + env: + GH_TOKEN: ${{ secrets.BLUEYE_PROTOCOL_BUMP_PAT }} + run: | + gh api repos/BluEye-Robotics/blueye-ts/dispatches \ + -f event_type=protocol-update \ + -f "client_payload[version]=${PROTOCOL_VERSION}"