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
--- a/.github/workflows/ci-develop.yml
+++ b/.github/workflows/ci-develop.yml
@@ -12,27 +12,23 @@
 jobs:
 
   yarn-test-dev:
-    if: ${{ github.event.pull_request.draft == 'false' }}
     uses: ./.github/workflows/dev-build-tests_v2.yml
 
   unit-test:
-    if: ${{ github.event.pull_request.draft == 'false' }}
     uses: ./.github/workflows/unit-test_v2.yml
-
-  forkless:
-    if: ${{ contains( github.event.pull_request.labels.*.name, 'forkless') }}
-    uses: ./.github/workflows/forkless.yml
 
   canary:
     if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}
     uses: ./.github/workflows/canary.yml
     secrets: inherit # pass all secrets
 
-
   xcm:
     if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}
     uses: ./.github/workflows/xcm.yml
     secrets: inherit # pass all secrets
 
   codestyle:
-    uses: ./.github/workflows/codestyle_v2.yml
\ No newline at end of file
+    uses: ./.github/workflows/codestyle_v2.yml
+  
+  yarn_eslint:
+    uses: ./.github/workflows/test_codestyle_v2.yml
modified.github/workflows/ci-master.ymldiffbeforeafterboth
before · .github/workflows/ci-master.yml
1name: master23on:4  pull_request:5    branches: [ 'master' ]6    types: [ opened, reopened, synchronize, ready_for_review ]78concurrency:9  group: ${{ github.workflow }}-${{ github.head_ref }}10  cancel-in-progress: true1112jobs:1314  unit-test:15    if:  ${{ github.event.pull_request.draft != 'true' }}16    uses: ./.github/workflows/unit-test_v2.yml1718  node-only-update:19    if: ${{ github.event.pull_request.draft == 'false' }}20    uses: ./.github/workflows/node-only-update_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 secrets3031  xcm:32    if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}33    uses: ./.github/workflows/xcm.yml34    secrets: inherit # pass all secrets3536  codestyle:37    if: ${{ github.event.pull_request.draft == 'false' }}38    uses: ./.github/workflows/codestyle_v2.yml
after · .github/workflows/ci-master.yml
1name: master23on:4  pull_request:5    branches: [ 'master' ]6    types: [ opened, reopened, synchronize, ready_for_review ]78concurrency:9  group: ${{ github.workflow }}-${{ github.head_ref }}10  cancel-in-progress: true1112jobs:1314  unit-test:15    uses: ./.github/workflows/unit-test_v2.yml1617  node-only-update:18    uses: ./.github/workflows/node-only-update_v2.yml1920  forkless:21    if: ${{ contains( github.event.pull_request.labels.*.name, 'forkless') }}22    uses: ./.github/workflows/forkless.yml2324  canary:25    if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}26    uses: ./.github/workflows/canary.yml27    secrets: inherit # pass all secrets2829  xcm:30    if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}31    uses: ./.github/workflows/xcm.yml32    secrets: inherit # pass all secrets3334  codestyle:35    uses: ./.github/workflows/codestyle_v2.yml