Skip to content

Commit fa29d36

Browse files
authored
revert Exclude MD files from job triggers (#41136)
1 parent 9118b70 commit fa29d36

File tree

3 files changed

+19
-50
lines changed

3 files changed

+19
-50
lines changed

.github/workflows/analyze-changed-paths.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/build.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,11 @@ env:
3636
CHIP_NO_LOG_TIMESTAMPS: true
3737

3838
jobs:
39-
changed_paths:
40-
uses: ./.github/workflows/analyze-changed-paths.yaml
41-
4239
build_linux_gcc_debug:
4340
name: Build on Linux (gcc_debug)
44-
needs: changed_paths
41+
4542
runs-on: ubuntu-latest
46-
if: github.actor != 'restyled-io[bot]' && needs.changed_paths.outputs.non_md_changes == 'true'
43+
if: github.actor != 'restyled-io[bot]'
4744

4845
container:
4946
image: ghcr.io/project-chip/chip-build:167
@@ -151,9 +148,9 @@ jobs:
151148

152149
build_linux:
153150
name: Build on Linux (fake, gcc_release, clang, simulated)
154-
needs: changed_paths
151+
155152
runs-on: ubuntu-latest
156-
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true && needs.changed_paths.outputs.non_md_changes == 'true'
153+
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
157154

158155
container:
159156
image: ghcr.io/project-chip/chip-build:167
@@ -329,9 +326,9 @@ jobs:
329326

330327
build_linux_python_lib:
331328
name: Build on Linux (python_lib)
332-
needs: changed_paths
329+
333330
runs-on: ubuntu-latest
334-
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true && needs.changed_paths.outputs.non_md_changes == 'true'
331+
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
335332

336333
container:
337334
image: ghcr.io/project-chip/chip-build:167
@@ -392,9 +389,9 @@ jobs:
392389

393390
build_linux_python_lighting_device:
394391
name: Build on Linux (python lighting-app)
395-
needs: changed_paths
392+
396393
runs-on: ubuntu-latest
397-
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true && needs.changed_paths.outputs.non_md_changes == 'true'
394+
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
398395

399396
container:
400397
image: ghcr.io/project-chip/chip-build:167
@@ -426,9 +423,8 @@ jobs:
426423
427424
build_darwin:
428425
name: Build on Darwin (clang, simulated)
429-
needs: changed_paths
430426
runs-on: macos-13
431-
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true && needs.changed_paths.outputs.non_md_changes == 'true'
427+
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
432428

433429
steps:
434430
- name: Checkout
@@ -514,11 +510,11 @@ jobs:
514510

515511
build_linux_gcc_coverage:
516512
name: Build on Linux (coverage)
517-
needs: changed_paths
513+
518514
env:
519515
TSAN_OPTIONS: "halt_on_error=1 suppressions=scripts/tests/chiptest/tsan-linux-suppressions.txt"
520516

521-
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true && needs.changed_paths.outputs.non_md_changes == 'true'
517+
if: github.actor != 'restyled-io[bot]' && inputs.run-codeql != true
522518
runs-on: ubuntu-latest
523519

524520
container:

.github/workflows/tests.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ env:
4343
CHIP_NO_LOG_TIMESTAMPS: true
4444

4545
jobs:
46-
changed_paths:
47-
uses: ./.github/workflows/analyze-changed-paths.yaml
48-
4946
test_suites_linux:
5047
name: Test Suites - Linux
51-
needs: changed_paths
48+
5249
strategy:
5350
matrix:
5451
build_variant: [no-ble-no-shell-tsan-clang]
@@ -61,7 +58,7 @@ jobs:
6158
DISABLE_CCACHE: ${{ (github.event_name == 'workflow_dispatch' && inputs.disable_ccache == 'true') && 'true' || (contains(github.event.head_commit.message, '[no-ccache]') && 'true') || 'false' }}
6259
CCACHE_KEY_SUFFIX: ${{ github.event_name == 'workflow_dispatch' && inputs.cache_suffix || '' }}
6360

64-
if: github.actor != 'restyled-io[bot]' && needs.changed_paths.outputs.non_md_changes == 'true'
61+
if: github.actor != 'restyled-io[bot]'
6562
runs-on: ubuntu-latest
6663

6764
container:
@@ -436,7 +433,7 @@ jobs:
436433

437434
test_suites_darwin:
438435
name: Test Suites - Darwin
439-
needs: changed_paths
436+
440437
strategy:
441438
matrix:
442439
build_variant: [no-ble-no-shell-asan-clang, no-ble-no-shell-tsan-clang]
@@ -447,7 +444,7 @@ jobs:
447444
TSAN_OPTIONS: "halt_on_error=1"
448445
LSAN_OPTIONS: detect_leaks=1 suppressions=scripts/tests/chiptest/lsan-mac-suppressions.txt
449446

450-
if: github.actor != 'restyled-io[bot]' && needs.changed_paths.outputs.non_md_changes == 'true'
447+
if: github.actor != 'restyled-io[bot]'
451448
runs-on: macos-13
452449

453450
steps:
@@ -553,8 +550,8 @@ jobs:
553550

554551
repl_tests_linux:
555552
name: REPL Tests - Linux
556-
needs: changed_paths
557-
if: github.actor != 'restyled-io[bot]' && needs.changed_paths.outputs.non_md_changes == 'true'
553+
554+
if: github.actor != 'restyled-io[bot]'
558555

559556
strategy:
560557
matrix:
@@ -913,15 +910,15 @@ jobs:
913910

914911
repl_tests_darwin:
915912
name: REPL Tests - Darwin (Build Only)
916-
needs: changed_paths
913+
917914
strategy:
918915
matrix:
919916
build_variant: [no-ble-no-wifi-tsan-clang]
920917
env:
921918
BUILD_VARIANT: ${{matrix.build_variant}}
922919
TSAN_OPTIONS: "halt_on_error=1"
923920

924-
if: github.actor != 'restyled-io[bot]' && needs.changed_paths.outputs.non_md_changes == 'true'
921+
if: github.actor != 'restyled-io[bot]'
925922
runs-on: macos-13
926923

927924
steps:

0 commit comments

Comments
 (0)