From 3931ad8ed2bbeaaa79fbf86c156b6d71d5c3237b Mon Sep 17 00:00:00 2001 From: kdivya153 <121901963+kdivya153@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:03:47 -0400 Subject: [PATCH] Update run-standalone-mfos-tests.yml --- .github/workflows/run-standalone-mfos-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-standalone-mfos-tests.yml b/.github/workflows/run-standalone-mfos-tests.yml index da2013a72..fad08ebb4 100644 --- a/.github/workflows/run-standalone-mfos-tests.yml +++ b/.github/workflows/run-standalone-mfos-tests.yml @@ -1,12 +1,13 @@ name: MFOS standalone sanity report - CORE, MANAGE, DISCOVERY on: + repository_dispatch: + types: [trigger-workflow] pull_request: types: - opened - synchronize branches: [ next ] - workflow_dispatch: # Triggered by external API (Repo A) push: branches: - next @@ -35,7 +36,7 @@ jobs: GITHUB_REF: ${{ github.ref }} PR_HEAD_REF: ${{ github.event.pull_request.head.ref }} INTENT: ${{ vars.INTENT }} - OPENRPC_PR_BRANCH: ${{ github.event.inputs.OPENRPC_PR_BRANCH}} # Comes from Repo A if triggered externally + OPENRPC_PR_BRANCH: ${{ github.event.client_payload.OPENRPC_PR_BRANCH}} # Comes from Repo A if triggered externally run: | ./.github/workflows/utils.sh runTests