From 27d63f157c7dc839b8c5336c9159219fe5996678 Mon Sep 17 00:00:00 2001 From: Evgeniy Scherbina Date: Thu, 15 Aug 2024 12:00:24 -0400 Subject: [PATCH] ci: dispatch run-rosetta-tests event to rosetta-kava (#2007) --- .github/workflows/ci-master.yml | 3 +++ .github/workflows/ci-rosetta.yml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/ci-rosetta.yml diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 8a4750d1..adb6353f 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -45,6 +45,9 @@ jobs: dockerhub-username: kavaops extra-image-tag: master secrets: inherit + rosetta: + uses: ./.github/workflows/ci-rosetta.yml + secrets: inherit post-pipeline-metrics: uses: ./.github/workflows/metric-pipeline.yml if: always() # always run so we metric failures and successes diff --git a/.github/workflows/ci-rosetta.yml b/.github/workflows/ci-rosetta.yml new file mode 100644 index 00000000..7673707b --- /dev/null +++ b/.github/workflows/ci-rosetta.yml @@ -0,0 +1,16 @@ +name: Dispatch run-rosetta-tests event to rosetta-kava + +on: + workflow_call: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Dispatch run-rosetta-tests event to rosetta-kava + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.KAVA_PUBLIC_GITHUB_ACCESS_TOKEN }} + repository: Kava-Labs/rosetta-kava + event-type: run-rosetta-tests + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'