Skip to content

Commit b805266

Browse files
committed
ci: doc-build: do not check for changed files
Remove check for changed files for now until we have a better way to do that without the 3rd party action. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 826e598 commit b805266

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

.github/workflows/doc-build.yml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -21,46 +21,10 @@ env:
2121
JOB_COUNT: 4
2222

2323
jobs:
24-
doc-file-check:
25-
name: Check for doc changes
26-
runs-on: ubuntu-24.04
27-
if: >
28-
github.repository_owner == 'zephyrproject-rtos'
29-
outputs:
30-
file_check: ${{ steps.check-doc-files.outputs.any_modified }}
31-
steps:
32-
- name: checkout
33-
uses: actions/checkout@v4
34-
with:
35-
ref: ${{ github.event.pull_request.head.sha }}
36-
fetch-depth: 0
37-
- name: Check if Documentation related files changed
38-
uses: tj-actions/changed-files@v45
39-
id: check-doc-files
40-
with:
41-
files: |
42-
doc/
43-
boards/**/doc/
44-
**.rst
45-
include/
46-
kernel/include/kernel_arch_interface.h
47-
lib/libc/**
48-
subsys/testsuite/ztest/include/**
49-
tests/
50-
**/Kconfig*
51-
west.yml
52-
scripts/dts/
53-
doc/requirements.txt
54-
.github/workflows/doc-build.yml
55-
scripts/pylib/pytest-twister-harness/src/twister_harness/device/device_adapter.py
56-
scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/shell.py
57-
5824
doc-build-html:
5925
name: "Documentation Build (HTML)"
60-
needs: [doc-file-check]
6126
if: >
62-
github.repository_owner == 'zephyrproject-rtos' &&
63-
( needs.doc-file-check.outputs.file_check == 'true' || github.event_name != 'pull_request' )
27+
github.repository_owner == 'zephyrproject-rtos'
6428
runs-on: ubuntu-24.04
6529
timeout-minutes: 90
6630
concurrency:
@@ -181,7 +145,6 @@ jobs:
181145

182146
doc-build-pdf:
183147
name: "Documentation Build (PDF)"
184-
needs: [doc-file-check]
185148
if: |
186149
github.event_name != 'pull_request' &&
187150
github.repository_owner == 'zephyrproject-rtos'
@@ -257,7 +220,6 @@ jobs:
257220
name: "Documentation Build Status"
258221
needs:
259222
- doc-build-pdf
260-
- doc-file-check
261223
- doc-build-html
262224
uses: ./.github/workflows/ready-to-merge.yml
263225
with:

0 commit comments

Comments
 (0)