diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 8a4750d14..adb6353f8 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 000000000..7673707ba --- /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 }}"}'