difftreelog
another trigger for xcm tests workflows
in: master
2 files changed
.github/workflows/xcm-testnet-build.ymldiffbeforeafterboth223# Controls when the action will run.3# Controls when the action will run.4on:4on:5 # Triggers the workflow on push or pull request events but only for the master branch6 pull_request:5 workflow_call:7 branches:6 8 - master9 types:10 - opened11 - reopened12 - synchronize #commit(s) pushed to the pull request13 - ready_for_review1415 # Allows you to run this workflow manually from the Actions tab7 # Allows you to run this workflow manually from the Actions tab16 workflow_dispatch:8 workflow_dispatch:19env:11env:20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}12 REPO_URL: ${{ github.server_url }}/${{ github.repository }}2122concurrency:23 group: ${{ github.workflow }}-${{ github.head_ref }}24 cancel-in-progress: true251326# A workflow run is made up of one or more jobs that can run sequentially or in parallel14# A workflow run is made up of one or more jobs that can run sequentially or in parallel27jobs:15jobs:74756276 steps:63 steps:77 #- name: Skip if pull request is in Draft64 - name: Skip if pull request is in Draft78 # if: github.event.pull_request.draft == true65 if: github.event.pull_request.draft == true79 # run: exit 166 run: exit 1806781 - name: Clean Workspace68 - name: Clean Workspace82 uses: AutoModality/action-clean@v1.1.069 uses: AutoModality/action-clean@v1.1.0.github/workflows/xcm-tests.ymldiffbeforeafterboth--- 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,16 @@
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
+ xcm-testnet-build:
+ uses: ./.github/workflows/xcm-testnet-build.yml
+ secrets: inherit
+
prepare-execution-marix:
name: Prepare execution matrix
+ needs: [xcm-testnet-build]
+
runs-on: XL
outputs:
matrix: ${{ steps.create_matrix.outputs.matrix }}
@@ -78,9 +79,9 @@
steps:
- # - name: Skip if pull request is in Draft
- # if: github.event.pull_request.draft == true
- # run: exit 1
+ - name: Skip if pull request is in Draft
+ if: github.event.pull_request.draft == true
+ run: exit 1
- name: Clean Workspace
uses: AutoModality/action-clean@v1.1.0