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

difftreelog

source

.github/workflows/ci-develop.yml3.4 KiBsourcehistory
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-update-data: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-update-data.yml47    secrets: inherit # pass all secrets from initial workflow to nested    4849  forkless-update-no-data:50    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }}  # Conditional check for draft & labels per job.51    uses: ./.github/workflows/forkless-update-nodata.yml52    secrets: inherit # pass all secrets from initial workflow to nested    5354  try-runtime:55    if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }}  # Conditional check for draft & labels per job.  56    uses: ./.github/workflows/try-runtime.yml57    secrets: inherit # pass all secrets from initial workflow to nested    5859  node-only-update:60    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.61    uses: ./.github/workflows/node-only-update.yml62    secrets: inherit6364  codestyle:65    if: github.event.pull_request.draft == false                                                                             # Conditional check for draft per job.66    uses: ./.github/workflows/codestyle.yml67    secrets: inherit