From b29e442b6f7b625986d0a6e283a910b8bf6d7060 Mon Sep 17 00:00:00 2001 From: BAStos525 <66615487+BAStos525@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:09:11 +0300 Subject: [PATCH] ci: Add webhook trigger for iroha-java tests upload to Allure (#5226) 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