--- a/.github/workflows/xcm-testnet-build.yml +++ b/.github/workflows/xcm-testnet-build.yml @@ -1,16 +1,7 @@ name: xcm-testnet-build # Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the master branch - pull_request: - branches: - - master - types: - - opened - - reopened - - synchronize #commit(s) pushed to the pull request - - ready_for_review +on: [pull_request] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: --- a/.github/workflows/xcm-tests.yml +++ b/.github/workflows/xcm-tests.yml @@ -2,11 +2,6 @@ # Controls when the action will run. on: - # Triggers the workflow after xcm-testnet-build - workflow_run: - workflows: ["xcm-testnet-build"] - types: - - completed # Triggers the workflow on push or pull request events but only for the master branch pull_request: branches: @@ -31,10 +26,15 @@ # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: + xcm-build: + uses: ./.github/workflows/xcm-testnet-build.yml + prepare-execution-marix: name: Prepare execution matrix + needs: [xcm-build] + runs-on: XL outputs: matrix: ${{ steps.create_matrix.outputs.matrix }}