Skip to content

Commit b3e3a7e

Browse files
Update docs_pr_push.yml
1 parent d6922b8 commit b3e3a7e

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

.github/workflows/docs_pr_push.yml

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
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.
44

5-
# name: Documentation PR/push
5+
name: Documentation PR/push
66

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'
1818

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'
2626

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
3030

31-
# permissions:
32-
# contents: read
31+
permissions:
32+
contents: read
3333

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

Comments
 (0)