|
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. |
| 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 | 4 |
|
5 | | -# name: Documentation PR/push |
| 5 | +name: Documentation PR/push |
6 | 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' |
| 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 | 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' |
| 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 | 26 |
|
27 | | -# concurrency: |
28 | | -# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
29 | | -# cancel-in-progress: true |
| 27 | +concurrency: |
| 28 | + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
| 29 | + cancel-in-progress: true |
30 | 30 |
|
31 | | -# permissions: |
32 | | -# contents: read |
| 31 | +permissions: |
| 32 | + contents: read |
33 | 33 |
|
34 | | -# jobs: |
35 | | -# DocsBuild: |
36 | | -# uses: ./.github/workflows/reusable_docs_build.yml |
| 34 | +jobs: |
| 35 | + DocsBuild: |
| 36 | + if: false |
| 37 | + uses: ./.github/workflows/reusable_docs_build.yml |
0 commit comments