Skip to content

Commit a048a00

Browse files
authored
chore: trigger readthedocs preview only when docs change (#377)
1 parent 943e55d commit a048a00

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/readthedocs-preview.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@ on:
1313
pull_request_target:
1414
types:
1515
- opened
16+
paths:
17+
- .github/workflows/readthedocs-preview.yml
18+
- .readthedocs.yaml
19+
- README.md
20+
- docs/**
1621
permissions:
1722
pull-requests: write

template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/readthedocs-preview.yml.jinja

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@ on:
1313
pull_request_target:
1414
types:
1515
- opened
16+
paths:
17+
- .github/workflows/readthedocs-preview.yml
18+
- .readthedocs.yaml
19+
- README.md
20+
- docs/**
1621
permissions:
1722
pull-requests: write

0 commit comments

Comments
 (0)