From 9919d718d9af0cd5c84f7114e56990ed2090f6ae Mon Sep 17 00:00:00 2001 From: BAStos525 Date: Mon, 11 Nov 2024 12:46:38 +0300 Subject: [PATCH] ci: Add webhook trigger for iroha-java tests upload to Allure Signed-off-by: BAStos525 --- .github/workflows/iroha2-dev.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/iroha2-dev.yml b/.github/workflows/iroha2-dev.yml index db3ba516632..e59be25c7f8 100644 --- a/.github/workflows/iroha2-dev.yml +++ b/.github/workflows/iroha2-dev.yml @@ -92,6 +92,15 @@ jobs: -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/hyperledger-iroha/iroha-python/dispatches \ -d '{"event_type":"dispatch-event"}' + - name: Trigger java SDK tests + run: | + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.REPO_ACCESS_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/hyperledger-iroha/iroha-java/dispatches \ + -d '{"event_type":"allure-upload-trigger"}' telemetry: # FIXME #2646