Unique Chain 1.14 #2639
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586869783/CI+Develop | |
# Workflow which controls starts nested workflows. | |
name: develop | |
# Triger: PR at 'develop' branch with following types of events. | |
on: | |
pull_request: | |
branches: [ 'develop' ] | |
types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ] | |
#Concurency group for control execution queue over github runners. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
# List of a jobs included into Workflow. | |
jobs: | |
yarn-dev: | |
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal') | |
uses: ./.github/workflows/yarn-dev.yml | |
secrets: inherit | |
unit-test: | |
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal') | |
uses: ./.github/workflows/unit-test.yml | |
secrets: inherit | |
xcm: | |
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-xcm') | |
uses: ./.github/workflows/xcm.yml | |
secrets: inherit | |
xnft: | |
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-xnft') | |
uses: ./.github/workflows/xnft.yml | |
secrets: inherit | |
collator-selection: | |
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-collator-selection') | |
uses: ./.github/workflows/collator-selection.yml | |
secrets: inherit | |
forkless-update-data: | |
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless-data') || contains(github.event.pull_request.labels.*.name, 'CI-forkless-update-data')) | |
uses: ./.github/workflows/forkless-update-data.yml | |
secrets: inherit | |
forkless-update-no-data: | |
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless-no-data') || contains(github.event.pull_request.labels.*.name, 'CI-forkless-update-no-data')) | |
uses: ./.github/workflows/forkless-update-nodata.yml | |
secrets: inherit | |
try-runtime: | |
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-try-runtime') || contains(github.event.pull_request.labels.*.name, 'CI-try-runtime')) | |
uses: ./.github/workflows/try-runtime.yml | |
secrets: inherit | |
node-only-update: | |
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-node-only-update') | |
uses: ./.github/workflows/node-only-update.yml | |
secrets: inherit | |
governance: | |
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-governance') | |
uses: ./.github/workflows/governance.yml | |
secrets: inherit | |
codestyle: | |
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal') | |
uses: ./.github/workflows/codestyle.yml | |
secrets: inherit | |
polkadot-types: | |
if: contains(github.event.pull_request.labels.*.name, 'CI-hotfix-types') | |
uses: ./.github/workflows/polkadot-types.yml | |
secrets: inherit |