From df2b1cf28922d72ce4ea40b14bd524bee2c83a93 Mon Sep 17 00:00:00 2001 From: Sam Goyal Date: Wed, 18 Mar 2026 10:56:11 -0700 Subject: [PATCH] .github/workflows: use repository dispatch to trigger external workflow --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f220a2..2c9adce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,3 +58,15 @@ jobs: with: artifact_name: binary release_tag: ${{ github.ref_name }} + + trigger_clyso_tools: + needs: [upload_binary_to_s3] + runs-on: ubuntu-latest + steps: + - name: Trigger clyso-tools-build + run: | + curl -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.PAT }}" \ + https://api.github.com/repos/clyso/clyso-tools-build/dispatches \ + -d '{"event_type":"binary_released","client_payload":{"tool":"otto","version":"${{ github.ref_name }}"}}'