git.delta.rocks / unique-network / refs/commits / 3c3c01db390d

difftreelog

Revert "try another trigger for xcm workflows"

Konstantin Astakhov2022-09-02parent: #7ef2a7f.patch.diff
in: master
This reverts commit 7ef2a7f8cbd4c7be24c90b697593b523a6b7cc0c.

2 files changed

modified.github/workflows/xcm-testnet-build.ymldiffbeforeafterboth
1name: xcm-testnet-build1name: xcm-testnet-build
22
3# Controls when the action will run.3# Controls when the action will run.
4on: [pull_request]4on:
5 # Triggers the workflow on push or pull request events but only for the master branch
6 pull_request:
7 branches:
8 - master
9 types:
10 - opened
11 - reopened
12 - synchronize #commit(s) pushed to the pull request
13 - ready_for_review
514
6 # Allows you to run this workflow manually from the Actions tab15 # Allows you to run this workflow manually from the Actions tab
7 workflow_dispatch:16 workflow_dispatch:
modified.github/workflows/xcm-tests.ymldiffbeforeafterboth
--- 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 }}