difftreelog
add draft check for each re-usable workflow
in: master
1 file changed
.github/workflows/ci-develop.ymldiffbeforeafterboth3on:3on:4 pull_request:4 pull_request:5 branches: [ 'develop' ]5 branches: [ 'develop' ]6 types: [ opened, reopened, synchronize, ready_for_review ]6 types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]778concurrency:8concurrency:9 group: ${{ github.workflow }}-${{ github.head_ref }}9 group: ${{ github.workflow }}-${{ github.head_ref }}12jobs:12jobs:131314 yarn-test-dev:14 yarn-test-dev:15 if: github.event.pull_request.draft == false15 uses: ./.github/workflows/dev-build-tests_v2.yml16 uses: ./.github/workflows/dev-build-tests_v2.yml17161817 unit-test:19 unit-test:20 if: github.event.pull_request.draft == false18 uses: ./.github/workflows/unit-test_v2.yml21 uses: ./.github/workflows/unit-test_v2.yml192220 canary:23 canary:21 if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}24 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'canary')) }}22 uses: ./.github/workflows/canary.yml25 uses: ./.github/workflows/canary.yml23 secrets: inherit # pass all secrets26 secrets: inherit # pass all secrets242725 xcm:28 xcm:26 if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}29 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'xcm')) }}27 uses: ./.github/workflows/xcm.yml30 uses: ./.github/workflows/xcm.yml28 secrets: inherit # pass all secrets31 secrets: inherit # pass all secrets293230 codestyle:33 codestyle:34 if: github.event.pull_request.draft == false31 uses: ./.github/workflows/codestyle_v2.yml35 uses: ./.github/workflows/codestyle_v2.yml32 36 33 yarn_eslint:37 yarn_eslint:38 if: github.event.pull_request.draft == false34 uses: ./.github/workflows/test_codestyle_v2.yml39 uses: ./.github/workflows/test_codestyle_v2.yml3540