git.delta.rocks / unique-network / refs/commits / ac9b5eeb31df

difftreelog

Merge pull request #918 from UniqueNetwork/ci/fix-workflows

Yaroslav Bolyukin2023-04-14parents: #e02f22f #e69c3de.patch.diff
in: master
Ci/fix workflows

3 files changed

modified.github/workflows/ci-develop.ymldiffbeforeafterboth
--- a/.github/workflows/ci-develop.yml
+++ b/.github/workflows/ci-develop.yml
@@ -41,11 +41,6 @@
     uses: ./.github/workflows/collator-selection.yml
     secrets: inherit    
     
-  # forkless:
-  #   if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }}  # Conditional check for draft & labels per job.
-  #   uses: ./.github/workflows/forkless.yml
-  #   secrets: inherit    
-
   forkless-update-data:
     if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }}  # Conditional check for draft & labels per job.  
     uses: ./.github/workflows/forkless-update-data.yml
modified.github/workflows/ci-master.ymldiffbeforeafterboth
before · .github/workflows/ci-master.yml
1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2587656193/CI+Master2# Workflow which controls starts nested workflows.3name: master45# Triger: PR at 'master' branch with following types of events.6on:7  pull_request:8    branches: [ 'master' ]9    types: [ opened, reopened, synchronize, ready_for_review ]1011#Concurency group for control execution queue over github runners.12concurrency:13  group: ${{ github.workflow }}-${{ github.head_ref }}14  cancel-in-progress: true1516# List of a jobs included into Workflow.17jobs:1819  yarn-dev:20    uses: ./.github/workflows/yarn-dev.yml2122  unit-test:23    uses: ./.github/workflows/unit-test.yml2425  node-only-update:26    uses: ./.github/workflows/node-only-update.yml2728  forkless:29    uses: ./.github/workflows/forkless.yml3031  # canary:32  #   uses: ./.github/workflows/canary.yml33  #   secrets: inherit # pass all secrets from initial workflow to nested3435  xcm:36    uses: ./.github/workflows/xcm.yml37    secrets: inherit # pass all secrets from initial workflow to nested38    39  collator-selection:40    uses: ./.github/workflows/collator-selection.yml4142  # testnet:43  #   uses: ./.github/workflows/testnet-build.yml44  #   secrets: inherit # pass all secrets from initial workflow to nested4546  codestyle:47    uses: ./.github/workflows/codestyle.yml4849  polkadot-types:50    uses: ./.github/workflows/polkadot-types.yml
deleted.github/workflows/forkless.ymldiffbeforeafterboth
--- a/.github/workflows/forkless.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Intermediate Nested Workflow for calling subworkflows as a parallel tasks.
-
-# name: Nesting Forkless
-
-# on:
-#   workflow_call:
-
-# jobs:
-    
-#   forkless-update-data:
-#     name: with data
-#     uses: ./.github/workflows/forkless-update-data.yml
-#     secrets: inherit # pass all secrets from initial workflow to nested    
-
-#   forkless-update-no-data:
-#     name: no data
-#     uses: ./.github/workflows/forkless-update-nodata.yml
-#     secrets: inherit # pass all secrets from initial workflow to nested    
-
-#   try-runtime:
-#     name: try-runtime
-#     uses: ./.github/workflows/try-runtime.yml
-#     secrets: inherit # pass all secrets from initial workflow to nested