git.delta.rocks / unique-network / refs/commits / 2afc56765857

difftreelog

fix check tasks for develop and master workflows

Alexander Aksenov2022-09-02parent: #2991944.patch.diff
in: master

2 files changed

modified.github/workflows/ci-develop.ymldiffbeforeafterboth
before · .github/workflows/ci-develop.yml
1name: 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    if: ${{ github.event.pull_request.draft == 'false' }}16    uses: ./.github/workflows/dev-build-tests_v2.yml1718  unit-test:19    if: ${{ github.event.pull_request.draft == 'false' }}20    uses: ./.github/workflows/unit-test_v2.yml2122  forkless:23    if: ${{ contains( github.event.pull_request.labels.*.name, 'forkless') }}24    uses: ./.github/workflows/forkless.yml2526  canary:27    if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}28    uses: ./.github/workflows/canary.yml29    secrets: inherit # pass all secrets303132  xcm:33    if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}34    uses: ./.github/workflows/xcm.yml35    secrets: inherit # pass all secrets3637  codestyle:38    uses: ./.github/workflows/codestyle_v2.yml
after · .github/workflows/ci-develop.yml
1name: 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.yml
modified.github/workflows/ci-master.ymldiffbeforeafterboth
--- a/.github/workflows/ci-master.yml
+++ b/.github/workflows/ci-master.yml
@@ -12,11 +12,9 @@
 jobs:
 
   unit-test:
-    if:  ${{ github.event.pull_request.draft != 'true' }}
     uses: ./.github/workflows/unit-test_v2.yml
 
   node-only-update:
-    if: ${{ github.event.pull_request.draft == 'false' }}
     uses: ./.github/workflows/node-only-update_v2.yml
 
   forkless:
@@ -34,5 +32,4 @@
     secrets: inherit # pass all secrets
 
   codestyle:
-    if: ${{ github.event.pull_request.draft == 'false' }}
     uses: ./.github/workflows/codestyle_v2.yml
\ No newline at end of file