difftreelog
another trigger for xcm tests workflows
in: master
2 files changed
.github/workflows/xcm-testnet-build.ymldiffbeforeafterboth--- a/.github/workflows/xcm-testnet-build.yml
+++ b/.github/workflows/xcm-testnet-build.yml
@@ -2,16 +2,8 @@
# 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
-
+ workflow_call:
+
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -19,10 +11,6 @@
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
-concurrency:
- group: ${{ github.workflow }}-${{ github.head_ref }}
- cancel-in-progress: true
-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -71,12 +59,11 @@
strategy:
matrix:
include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}}
-
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
.github/workflows/xcm-tests.ymldiffbeforeafterboth223# Controls when the action will run.3# Controls when the action will run.4on:4on:5 # Triggers the workflow after xcm-testnet-build 6 workflow_run:7 workflows: ["xcm-testnet-build"]8 types: 9 - completed 10 # Triggers the workflow on push or pull request events but only for the master branch5 # Triggers the workflow on push or pull request events but only for the master branch11 pull_request:6 pull_request:12 branches:7 branches:31# A workflow run is made up of one or more jobs that can run sequentially or in parallel26# A workflow run is made up of one or more jobs that can run sequentially or in parallel32jobs:27jobs:332829 xcm-testnet-build:30 uses: ./.github/workflows/xcm-testnet-build.yml31 secrets: inherit3234 prepare-execution-marix:33 prepare-execution-marix:353436 name: Prepare execution matrix35 name: Prepare execution matrix3637 needs: [xcm-testnet-build]373838 runs-on: XL39 runs-on: XL39 outputs:40 outputs:7879798080 steps:81 steps:81 # - name: Skip if pull request is in Draft82 - name: Skip if pull request is in Draft82 # if: github.event.pull_request.draft == true83 if: github.event.pull_request.draft == true83 # run: exit 184 run: exit 1848585 - name: Clean Workspace86 - name: Clean Workspace86 uses: AutoModality/action-clean@v1.1.087 uses: AutoModality/action-clean@v1.1.0