difftreelog
add draft check for each re-usable workflow
in: master
1 file changed
.github/workflows/ci-develop.ymldiffbeforeafterboth1name: develop23on:4 pull_request:5 branches: [ 'develop' ]6 types: [ opened, reopened, synchronize, ready_for_review ]78concurrency:9 group: ${{ github.workflow }}-${{ github.head_ref }}10 cancel-in-progress: true1112jobs:1314 yarn-test-dev:15 uses: ./.github/workflows/dev-build-tests_v2.yml1617 unit-test:18 uses: ./.github/workflows/unit-test_v2.yml1920 canary:21 if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}22 uses: ./.github/workflows/canary.yml23 secrets: inherit # pass all secrets2425 xcm:26 if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}27 uses: ./.github/workflows/xcm.yml28 secrets: inherit # pass all secrets2930 codestyle:31 uses: ./.github/workflows/codestyle_v2.yml32 33 yarn_eslint:34 uses: ./.github/workflows/test_codestyle_v2.yml1name: develop23on:4 pull_request:5 branches: [ 'develop' ]6 types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]78concurrency:9 group: ${{ github.workflow }}-${{ github.head_ref }}10 cancel-in-progress: true1112jobs:1314 yarn-test-dev:15 if: github.event.pull_request.draft == false16 uses: ./.github/workflows/dev-build-tests_v2.yml171819 unit-test:20 if: github.event.pull_request.draft == false21 uses: ./.github/workflows/unit-test_v2.yml2223 canary:24 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'canary')) }}25 uses: ./.github/workflows/canary.yml26 secrets: inherit # pass all secrets2728 xcm:29 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'xcm')) }}30 uses: ./.github/workflows/xcm.yml31 secrets: inherit # pass all secrets3233 codestyle:34 if: github.event.pull_request.draft == false35 uses: ./.github/workflows/codestyle_v2.yml36 37 yarn_eslint:38 if: github.event.pull_request.draft == false39 uses: ./.github/workflows/test_codestyle_v2.yml