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

difftreelog

fix forkless build and tests workflow steps

Konstantin Astakhov2023-01-24parent: #869cab0.patch.diff
in: master

2 files changed

modified.github/workflows/ci-develop.ymldiffbeforeafterboth
before · .github/workflows/ci-develop.yml
1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586869783/CI+Develop2# Workflow which controls starts nested workflows.3name: develop45# Triger: PR at 'develop' branch with following types of events.6on:7  pull_request:8    branches: [ 'develop' ]9    types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]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    if: github.event.pull_request.draft == false                                                                             # Conditional check for draft per job.21    uses: ./.github/workflows/yarn-dev.yml2223  unit-test:24    if: github.event.pull_request.draft == false                                                                             # Conditional check for draft per job.25    uses: ./.github/workflows/unit-test.yml2627  canary:28    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-canary')) }}    # Conditional check for draft & labels per job.29    uses: ./.github/workflows/canary.yml30    secrets: inherit # pass all secrets from initial workflow to nested3132  xcm:33    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-xcm')) }}       # Conditional check for draft & labels per job.34    uses: ./.github/workflows/xcm.yml35    secrets: inherit # pass all secrets from initial workflow to nested36    37  collator-selection:38    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-collator-selection')) }}  # Conditional check for draft & labels per job.39    uses: ./.github/workflows/collator-selection.yml40    41  forkless:42    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }}  # Conditional check for draft & labels per job.43    uses: ./.github/workflows/forkless.yml44  45  node-only-update:46    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-node-only-update')) }}  # Conditional check for draft & labels per job.47    uses: ./.github/workflows/node-only-update.yml48    49  # integration:50  #   if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'integration')) }}      # Conditional check for draft & labels per job.51  #   uses: ./.github/workflows/integration-tests.yml5253  codestyle:54    if: github.event.pull_request.draft == false                                                                             # Conditional check for draft per job.55    uses: ./.github/workflows/codestyle.yml
after · .github/workflows/ci-develop.yml
1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586869783/CI+Develop2# Workflow which controls starts nested workflows.3name: develop45# Triger: PR at 'develop' branch with following types of events.6on:7  pull_request:8    branches: [ 'develop' ]9    types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]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    if: github.event.pull_request.draft == false                                                                             # Conditional check for draft per job.21    uses: ./.github/workflows/yarn-dev.yml22    secrets: inherit    2324  unit-test:25    if: github.event.pull_request.draft == false                                                                             # Conditional check for draft per job.26    uses: ./.github/workflows/unit-test.yml27    secrets: inherit    2829  canary:30    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-canary')) }}    # Conditional check for draft & labels per job.31    uses: ./.github/workflows/canary.yml32    secrets: inherit # pass all secrets from initial workflow to nested3334  xcm:35    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-xcm')) }}       # Conditional check for draft & labels per job.36    uses: ./.github/workflows/xcm.yml37    secrets: inherit # pass all secrets from initial workflow to nested38    39  collator-selection:40    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-collator-selection')) }}  # Conditional check for draft & labels per job.41    uses: ./.github/workflows/collator-selection.yml42    secrets: inherit    43    44  forkless:45    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }}  # Conditional check for draft & labels per job.46    uses: ./.github/workflows/forkless.yml47    secrets: inherit    48  49  node-only-update:50    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-node-only-update')) }}  # Conditional check for draft & labels per job.51    uses: ./.github/workflows/node-only-update.yml52    secrets: inherit5354  codestyle:55    if: github.event.pull_request.draft == false                                                                             # Conditional check for draft per job.56    uses: ./.github/workflows/codestyle.yml57    secrets: inherit
modified.github/workflows/forkless.ymldiffbeforeafterboth
--- a/.github/workflows/forkless.yml
+++ b/.github/workflows/forkless.yml
@@ -10,11 +10,14 @@
   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