From db9fc581f6ea4a7d169db7ee5f453e65626f15cc Mon Sep 17 00:00:00 2001 From: ilyakhd <14272298+IlyaKhD@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:07:11 +0300 Subject: [PATCH] Remove unnecessary prFilter jobs --- .github/workflows/build_all.yml | 22 ++---------- .github/workflows/default_workflow.yml | 22 ++---------- .github/workflows/demos_unit_tests.yml | 22 ++---------- .github/workflows/demos_visual_tests.yml | 22 ++---------- .../demos_visual_tests_frameworks.yml | 24 ++----------- .github/workflows/lint.yml | 36 ++----------------- .github/workflows/paths.yml | 22 ++---------- .github/workflows/playgrounds_tests.yml | 22 ++---------- .../qunit_tests-additional-renovation.yml | 22 ++---------- .github/workflows/qunit_tests-renovation.yml | 22 ++---------- .github/workflows/renovation.yml | 22 ++---------- .github/workflows/styles.yml | 22 ++---------- .github/workflows/testcafe_tests.yml | 22 ++---------- .github/workflows/themebuilder_tests.yml | 22 ++---------- .github/workflows/ts_declarations.yml | 24 ++----------- .github/workflows/wrapper_tests.yml | 22 ++---------- 16 files changed, 48 insertions(+), 322 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index c3f5edf49b90..fba5d0076b57 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -2,31 +2,15 @@ name: Build and pack DevExtreme npm packages on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - build: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 steps: diff --git a/.github/workflows/default_workflow.yml b/.github/workflows/default_workflow.yml index 87043400185e..27e23baca672 100644 --- a/.github/workflows/default_workflow.yml +++ b/.github/workflows/default_workflow.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" @@ -15,27 +18,8 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - main: name: main - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 30 diff --git a/.github/workflows/demos_unit_tests.yml b/.github/workflows/demos_unit_tests.yml index d25cb632ca30..2b4527dbae8a 100644 --- a/.github/workflows/demos_unit_tests.yml +++ b/.github/workflows/demos_unit_tests.yml @@ -6,33 +6,17 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - test: name: Run unit tests - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: ubuntu-latest timeout-minutes: 60 diff --git a/.github/workflows/demos_visual_tests.yml b/.github/workflows/demos_visual_tests.yml index e3bc34f52818..aa0fcd2e9d96 100644 --- a/.github/workflows/demos_visual_tests.yml +++ b/.github/workflows/demos_visual_tests.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" @@ -18,27 +21,8 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - build: name: Build devextreme - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: ubuntu-latest timeout-minutes: 20 diff --git a/.github/workflows/demos_visual_tests_frameworks.yml b/.github/workflows/demos_visual_tests_frameworks.yml index 5c8b0ea5bfd6..88548664ac4a 100644 --- a/.github/workflows/demos_visual_tests_frameworks.yml +++ b/.github/workflows/demos_visual_tests_frameworks.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" @@ -18,27 +21,8 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - build-devextreme: name: Build DevExtreme - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: ubuntu-latest timeout-minutes: 40 @@ -174,8 +158,6 @@ jobs: retention-days: 1 get-changes: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: ubuntu-latest name: Get changed demos timeout-minutes: 5 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6725c73bb7c2..fa6a85e5d0fa 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -15,26 +18,7 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - Renovation: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: @@ -82,8 +66,6 @@ jobs: run: pnpx nx lint-renovation TS: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: @@ -143,8 +125,6 @@ jobs: run: pnpx nx lint JS: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: @@ -192,8 +172,6 @@ jobs: run: pnpx nx lint-js texts: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: @@ -235,8 +213,6 @@ jobs: run: pnpx nx lint-texts CSS: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: @@ -278,8 +254,6 @@ jobs: run: pnpx nx lint pnpm_lock: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 10 steps: @@ -328,8 +302,6 @@ jobs: run: git diff --exit-code pnpm-lock.yaml component_exports: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 10 steps: @@ -381,8 +353,6 @@ jobs: fi wrappers: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 10 diff --git a/.github/workflows/paths.yml b/.github/workflows/paths.yml index b795249e03b7..f3fa5f2cf9df 100644 --- a/.github/workflows/paths.yml +++ b/.github/workflows/paths.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -16,26 +19,7 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - checks: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 5 steps: diff --git a/.github/workflows/playgrounds_tests.yml b/.github/workflows/playgrounds_tests.yml index 5a5631898be6..9da520380b63 100644 --- a/.github/workflows/playgrounds_tests.yml +++ b/.github/workflows/playgrounds_tests.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -15,27 +18,8 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - build: name: build - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' strategy: fail-fast: false diff --git a/.github/workflows/qunit_tests-additional-renovation.yml b/.github/workflows/qunit_tests-additional-renovation.yml index 152bff16d3d1..1ca0795b15f4 100644 --- a/.github/workflows/qunit_tests-additional-renovation.yml +++ b/.github/workflows/qunit_tests-additional-renovation.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -15,27 +18,8 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - build: name: Build - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 25 diff --git a/.github/workflows/qunit_tests-renovation.yml b/.github/workflows/qunit_tests-renovation.yml index e15346c8153c..86c7ce8ff549 100644 --- a/.github/workflows/qunit_tests-renovation.yml +++ b/.github/workflows/qunit_tests-renovation.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -15,27 +18,8 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - build: name: Build - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 diff --git a/.github/workflows/renovation.yml b/.github/workflows/renovation.yml index 09ff0b0a483d..f4d5a727a157 100644 --- a/.github/workflows/renovation.yml +++ b/.github/workflows/renovation.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -15,26 +18,7 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - jest-tests: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: diff --git a/.github/workflows/styles.yml b/.github/workflows/styles.yml index b809c7b3fb9c..68602031532f 100644 --- a/.github/workflows/styles.yml +++ b/.github/workflows/styles.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -15,26 +18,7 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - Tests: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: diff --git a/.github/workflows/testcafe_tests.yml b/.github/workflows/testcafe_tests.yml index dde46a950474..d2411ca23a52 100644 --- a/.github/workflows/testcafe_tests.yml +++ b/.github/workflows/testcafe_tests.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -16,27 +19,8 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - build: name: build - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' strategy: fail-fast: false diff --git a/.github/workflows/themebuilder_tests.yml b/.github/workflows/themebuilder_tests.yml index 700c6083d636..9f6d59567852 100644 --- a/.github/workflows/themebuilder_tests.yml +++ b/.github/workflows/themebuilder_tests.yml @@ -6,6 +6,9 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -15,26 +18,7 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - test: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 30 diff --git a/.github/workflows/ts_declarations.yml b/.github/workflows/ts_declarations.yml index b8b283d1bd9f..5761d1e6a761 100644 --- a/.github/workflows/ts_declarations.yml +++ b/.github/workflows/ts_declarations.yml @@ -6,31 +6,15 @@ concurrency: on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - check-ts-bundle: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: @@ -85,8 +69,6 @@ jobs: fi validate-declarations: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 60 steps: diff --git a/.github/workflows/wrapper_tests.yml b/.github/workflows/wrapper_tests.yml index 6f11c555dc7a..146e541daa11 100644 --- a/.github/workflows/wrapper_tests.yml +++ b/.github/workflows/wrapper_tests.yml @@ -2,6 +2,9 @@ name: DevExtreme Wrappers Tests on: pull_request: + paths: + - '**' + - '!apps/**/*.md' push: branches: [24_2] @@ -12,26 +15,7 @@ env: jobs: - prFilter: - runs-on: ubuntu-latest - outputs: - success: ${{ steps.filter.outputs.result }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Filter - id: filter - uses: DevExpress/github-actions/pr-filter@main - with: - paths: '**;!apps/**/*.md' - test: - needs: [ prFilter ] - if: needs.prFilter.outputs.success == 'true' runs-on: devextreme-shr2 timeout-minutes: 40