From 95d023601d0c39e16cfe481c03b6f5d7669a13e5 Mon Sep 17 00:00:00 2001 From: "ilya.kharchenko" <14272298+IlyaKhD@users.noreply.github.com> Date: Tue, 10 Sep 2024 01:12:37 +1200 Subject: [PATCH] Ignore doc changes on CI (#27893) --- .github/workflows/build_all.yml | 2 + .github/workflows/default_workflow.yml | 2 + .github/workflows/demos_unit_tests.yml | 2 + .github/workflows/demos_visual_tests.yml | 2 + .../demos_visual_tests_frameworks.yml | 2 + .github/workflows/lint.yml | 2 + .github/workflows/paths.yml | 2 + .github/workflows/playgrounds_tests.yml | 2 + .github/workflows/pr-filter-stubs.yml | 586 ++++++++++++++++++ .../qunit_tests-additional-renovation.yml | 2 + .github/workflows/qunit_tests-renovation.yml | 2 + .github/workflows/renovation.yml | 2 + .github/workflows/styles.yml | 2 + .github/workflows/testcafe_tests.yml | 2 + .github/workflows/themebuilder_tests.yml | 2 + .github/workflows/ts_declarations.yml | 2 + .github/workflows/wrapper_tests.yml | 2 + 17 files changed, 618 insertions(+) create mode 100644 .github/workflows/pr-filter-stubs.yml diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 0a33f71373e8..71c0749ec919 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -2,6 +2,8 @@ name: Build and pack DevExtreme npm packages on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/default_workflow.yml b/.github/workflows/default_workflow.yml index 0321921f64dd..f012355ca27d 100644 --- a/.github/workflows/default_workflow.yml +++ b/.github/workflows/default_workflow.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" diff --git a/.github/workflows/demos_unit_tests.yml b/.github/workflows/demos_unit_tests.yml index c8376c3b6763..da2653391aef 100644 --- a/.github/workflows/demos_unit_tests.yml +++ b/.github/workflows/demos_unit_tests.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" diff --git a/.github/workflows/demos_visual_tests.yml b/.github/workflows/demos_visual_tests.yml index 438f48af565f..ac135d195dc0 100644 --- a/.github/workflows/demos_visual_tests.yml +++ b/.github/workflows/demos_visual_tests.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" diff --git a/.github/workflows/demos_visual_tests_frameworks.yml b/.github/workflows/demos_visual_tests_frameworks.yml index d52db04d7426..d3afed223523 100644 --- a/.github/workflows/demos_visual_tests_frameworks.yml +++ b/.github/workflows/demos_visual_tests_frameworks.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: - "[0-9][0-9]_[0-9]" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index db1a01461fc4..70df0447f328 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/paths.yml b/.github/workflows/paths.yml index a2a0539386fb..b2394e453b28 100644 --- a/.github/workflows/paths.yml +++ b/.github/workflows/paths.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/playgrounds_tests.yml b/.github/workflows/playgrounds_tests.yml index b8f56defd33c..e57509c0b61b 100644 --- a/.github/workflows/playgrounds_tests.yml +++ b/.github/workflows/playgrounds_tests.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/pr-filter-stubs.yml b/.github/workflows/pr-filter-stubs.yml new file mode 100644 index 000000000000..6b920212a301 --- /dev/null +++ b/.github/workflows/pr-filter-stubs.yml @@ -0,0 +1,586 @@ +name: PR Filter Stubs + +on: + pull_request: + paths: + - 'apps/**/*.md' + +jobs: + + changesSegregation: + name: Changes Segregation Check + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.MONOREPO_ALERTS_FGPAT }} + steps: + + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 2 + + - name: .md files filter + id: mdFilesFilter + uses: DevExpress/github-actions/pr-filter@main + with: + paths: '**;!apps/**/*.md' + + - name: Show warning for .md files + if: steps.mdFilesFilter.outputs.result == 'true' + uses: actions/github-script@v7 + with: + script: core.setFailed('Changes in apps/**/*.md shouldn\'t be mixed with changes in other files') + + # build_all.yml, demos_visual_tests.yml, packages_publishing.yml, playgrounds_tests.yml, qunit_tests-additional-renovation.yml, qunit_tests-renovation.yml, testcafe_tests.yml + build1: + name: 'build' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + # lint.yml + lint1: + name: 'Renovation' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + lint2: + name: 'TS' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + lint3: + name: 'JS' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + lint4: + name: 'CSS' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + # styles.yml + styles1: + name: 'Tests' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + # renovation.yml + renovation1: + name: 'jest-tests' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + # qunit_tests-additional-renovation.yml - qunit-tests-mobile-and-shadow-dom + qunit_tests-additional-renovation1: + name: 'ui.htmlEditor-android6' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests-additional-renovation2: + name: 'ui.htmlEditor-firefox' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + # qunit_tests + qunit_tests1: + name: 'Constel export' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests2: + name: 'Constel misc' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests3: + name: 'Constel ui' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests4: + name: 'Constel ui.widgets(1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests5: + name: 'Constel ui.widgets(2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests6: + name: 'Constel ui.editors' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests7: + name: 'Constel ui.htmlEditor' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests8: + name: 'Constel ui.grid' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests9: + name: 'Constel ui.scheduler(1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests10: + name: 'Constel ui.scheduler(2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests11: + name: 'Constel viz' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + qunit_tests12: + name: 'Constel renovation' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + # testcafe_tests.yml + testcafe_tests1: + name: 'accessibility (1/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests2: + name: 'accessibility (2/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests3: + name: 'accessibility (3/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests4: + name: 'accessibility (4/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests5: + name: 'accessibility (5/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests6: + name: 'accessibility - material (1/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests7: + name: 'accessibility - material (2/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests8: + name: 'accessibility - material (3/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests9: + name: 'accessibility - material (4/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests10: + name: 'accessibility - material (5/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests11: + name: 'accessibility - material (6/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests12: + name: 'accessibility - material (7/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests13: + name: 'accessibility - fluent (1/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests14: + name: 'accessibility - fluent (2/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests15: + name: 'accessibility - fluent (3/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests16: + name: 'accessibility - fluent (4/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests17: + name: 'accessibility - fluent (5/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests18: + name: 'accessibility - fluent (6/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests19: + name: 'accessibility - fluent (7/7)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests20: + name: 'common' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests21: + name: 'common - material' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests22: + name: 'common - fluent' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests23: + name: 'treeList' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests24: + name: 'dataGrid (1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests25: + name: 'dataGrid (2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests26: + name: 'pivotGrid' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests27: + name: 'pivotGrid - material' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests28: + name: 'pivotGrid - fluent' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests29: + name: 'scheduler (1/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests30: + name: 'scheduler (2/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests31: + name: 'scheduler (3/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests32: + name: 'scheduler (4/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests33: + name: 'scheduler (5/5)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests34: + name: 'form (1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests35: + name: 'form (2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests36: + name: 'form - material (1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests37: + name: 'form - material (2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests38: + name: 'form - fluent (1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests39: + name: 'form - fluent (2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests40: + name: 'editors (1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests41: + name: 'editors (2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests42: + name: 'editors - material (1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests43: + name: 'editors - material (2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests44: + name: 'editors - fluent (1/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests45: + name: 'editors - fluent (2/2)' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests46: + name: 'htmlEditor' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests47: + name: 'htmlEditor - material' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests48: + name: 'htmlEditor - fluent' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests49: + name: 'navigation' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests50: + name: 'navigation - material' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests51: + name: 'navigation - fluent' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests52: + name: 'fileManager' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests53: + name: 'fileManager - material' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests54: + name: 'fileManager - fluent' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests55: + name: 'filterBuilder' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests56: + name: 'filterBuilder - material' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 + testcafe_tests57: + name: 'filterBuilder - fluent' + needs: [ changesSegregation ] + if: false + runs-on: ubuntu-latest + steps: + - run: exit 1 diff --git a/.github/workflows/qunit_tests-additional-renovation.yml b/.github/workflows/qunit_tests-additional-renovation.yml index f8016a4908f4..b4074daadcff 100644 --- a/.github/workflows/qunit_tests-additional-renovation.yml +++ b/.github/workflows/qunit_tests-additional-renovation.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/qunit_tests-renovation.yml b/.github/workflows/qunit_tests-renovation.yml index 0a3eb3505869..51633c14bf37 100644 --- a/.github/workflows/qunit_tests-renovation.yml +++ b/.github/workflows/qunit_tests-renovation.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/renovation.yml b/.github/workflows/renovation.yml index f2540753a674..f005957b457b 100644 --- a/.github/workflows/renovation.yml +++ b/.github/workflows/renovation.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/styles.yml b/.github/workflows/styles.yml index bfdb3cfe6daf..aab03f497460 100644 --- a/.github/workflows/styles.yml +++ b/.github/workflows/styles.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/testcafe_tests.yml b/.github/workflows/testcafe_tests.yml index 2bc6f38bece9..ab9f9c610036 100644 --- a/.github/workflows/testcafe_tests.yml +++ b/.github/workflows/testcafe_tests.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/themebuilder_tests.yml b/.github/workflows/themebuilder_tests.yml index 6230bdceddc8..feab081b2286 100644 --- a/.github/workflows/themebuilder_tests.yml +++ b/.github/workflows/themebuilder_tests.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/ts_declarations.yml b/.github/workflows/ts_declarations.yml index 32f0fad699e3..2c2637389f7f 100644 --- a/.github/workflows/ts_declarations.yml +++ b/.github/workflows/ts_declarations.yml @@ -6,6 +6,8 @@ concurrency: on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2] diff --git a/.github/workflows/wrapper_tests.yml b/.github/workflows/wrapper_tests.yml index 72d68311a574..3f9c451102cb 100644 --- a/.github/workflows/wrapper_tests.yml +++ b/.github/workflows/wrapper_tests.yml @@ -2,6 +2,8 @@ name: DevExtreme Wrappers Tests on: pull_request: + paths-ignore: + - 'apps/**/*.md' push: branches: [24_2]