File tree 2 files changed +37
-3
lines changed
2 files changed +37
-3
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow is strictly for documentation updates. It triggers only when files related
2
+ # to documentation or specific workflows are edited, ensuring that the job runs only for
3
+ # relevant changes.
4
+
5
+ name : Documentation PR/push
6
+
7
+ on :
8
+ push :
9
+ branches-ignore :
10
+ - ' dependabot/**'
11
+ - ' main' # Ignore main branch as it's handled by docs.yml
12
+ paths :
13
+ - ' docs/**'
14
+ - ' include/**'
15
+ - .github/workflows/reusable_docs_build.yml
16
+ - .github/workflows/docs_pr_push.yml
17
+ - ' third_party/requirements.txt'
18
+
19
+ pull_request :
20
+ paths :
21
+ - ' docs/**'
22
+ - ' include/**'
23
+ - .github/workflows/reusable_docs_build.yml
24
+ - .github/workflows/docs_pr_push.yml
25
+ - ' third_party/requirements.txt'
26
+
27
+ concurrency :
28
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
29
+ cancel-in-progress : true
30
+
31
+ permissions :
32
+ contents : read
33
+
34
+ jobs :
35
+ DocsBuild :
36
+ uses : ./.github/workflows/reusable_docs_build.yml
Original file line number Diff line number Diff line change @@ -18,11 +18,9 @@ permissions:
18
18
jobs :
19
19
CodeChecks :
20
20
uses : ./.github/workflows/reusable_checks.yml
21
- DocsBuild :
22
- uses : ./.github/workflows/reusable_docs_build.yml
23
21
FastBuild :
24
22
name : Fast builds
25
- needs : [CodeChecks, DocsBuild ]
23
+ needs : [CodeChecks]
26
24
uses : ./.github/workflows/reusable_fast.yml
27
25
Build :
28
26
name : Basic builds
You can’t perform that action at this time.
0 commit comments