diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 5222c7888..570e5eabe 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -21,3 +21,6 @@ jobs: namespace: Kava/ContinuousIntegration secrets: inherit needs: [default] + rosetta: + uses: ./.github/workflows/ci-rosetta.yml + secrets: inherit \ No newline at end of file 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 }}"}'