From 3c3c01db390da8b80051d5319bf2816cbc9c7910 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Fri, 02 Sep 2022 07:57:30 +0000 Subject: [PATCH] Revert "try another trigger for xcm workflows" This reverts commit 7ef2a7f8cbd4c7be24c90b697593b523a6b7cc0c. --- --- a/.github/workflows/xcm-testnet-build.yml +++ b/.github/workflows/xcm-testnet-build.yml @@ -1,7 +1,16 @@ name: xcm-testnet-build # Controls when the action will run. -on: [pull_request] +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 # 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,6 +2,11 @@ # 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: @@ -26,15 +31,10 @@ # 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 }} -- gitstuff