mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
ci: dispatch run-rosetta-tests event to rosetta-kava (#2007)
This commit is contained in:
parent
7aede3390d
commit
27d63f157c
3
.github/workflows/ci-master.yml
vendored
3
.github/workflows/ci-master.yml
vendored
@ -45,6 +45,9 @@ jobs:
|
|||||||
dockerhub-username: kavaops
|
dockerhub-username: kavaops
|
||||||
extra-image-tag: master
|
extra-image-tag: master
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
rosetta:
|
||||||
|
uses: ./.github/workflows/ci-rosetta.yml
|
||||||
|
secrets: inherit
|
||||||
post-pipeline-metrics:
|
post-pipeline-metrics:
|
||||||
uses: ./.github/workflows/metric-pipeline.yml
|
uses: ./.github/workflows/metric-pipeline.yml
|
||||||
if: always() # always run so we metric failures and successes
|
if: always() # always run so we metric failures and successes
|
||||||
|
16
.github/workflows/ci-rosetta.yml
vendored
Normal file
16
.github/workflows/ci-rosetta.yml
vendored
Normal file
@ -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 }}"}'
|
Loading…
Reference in New Issue
Block a user