Skip to content

Commit fc93231

Browse files
committedMar 19, 2025
ci: doc: do not prevent running doc CI in forks
Building docs just works on vanilla GH runner so it can be convenient to not prevent the workflow to run on forks. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 4a9a619 commit fc93231

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
 

‎.github/workflows/doc-build.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
doc-file-check:
2525
name: Check for doc changes
2626
runs-on: ubuntu-24.04
27-
if: >
28-
github.repository_owner == 'zephyrproject-rtos'
2927
outputs:
3028
file_check: ${{ steps.check-doc-files.outputs.any_modified }}
3129
steps:
@@ -58,8 +56,7 @@ jobs:
5856
name: "Documentation Build (HTML)"
5957
needs: [doc-file-check]
6058
if: >
61-
github.repository_owner == 'zephyrproject-rtos' &&
62-
( needs.doc-file-check.outputs.file_check == 'true' || github.event_name != 'pull_request' )
59+
needs.doc-file-check.outputs.file_check == 'true' || github.event_name != 'pull_request'
6360
runs-on: ubuntu-24.04
6461
timeout-minutes: 90
6562
concurrency:
@@ -182,8 +179,7 @@ jobs:
182179
name: "Documentation Build (PDF)"
183180
needs: [doc-file-check]
184181
if: |
185-
github.event_name != 'pull_request' &&
186-
github.repository_owner == 'zephyrproject-rtos'
182+
github.event_name != 'pull_request'
187183
runs-on: ubuntu-22.04
188184
container: texlive/texlive:latest
189185
timeout-minutes: 120

0 commit comments

Comments
 (0)