Skip to content

Commit 86a8a03

Browse files
committed
Expand "Check Website" workflow's paths filter to cover all relevant files
The paths filter is used to make GitHub Actions workflows more efficient and contributor friendly by preventing pointless workflow runs from happening when only irrelevant files were modified. However, careful consideration must be given to which files are relevant.
1 parent 50d953b commit 86a8a03

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/check-mkdocs-task.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,24 @@ name: Check Website
33
on:
44
pull_request:
55
paths:
6-
# existing docs
6+
- ".github/workflows/check-mkdocs-task.ya?ml"
7+
- "Taskfile.ya?ml"
8+
- "mkdocs.ya?ml"
9+
- "poetry.lock"
10+
- "pyproject.toml"
711
- "docs/**"
8-
# changes to the cli reference generator
912
- "docsgen/**"
10-
# potential changes to commands documentation
11-
- "cli/**"
12-
# changes to the workflow itself
13-
- ".github/workflows/check-mkdocs-task.ya?ml"
13+
- "**.go"
1414
push:
1515
paths:
16+
- ".github/workflows/check-mkdocs-task.ya?ml"
17+
- "Taskfile.ya?ml"
18+
- "mkdocs.ya?ml"
19+
- "poetry.lock"
20+
- "pyproject.toml"
1621
- "docs/**"
1722
- "docsgen/**"
18-
- "cli/**"
19-
- "rpc/**"
20-
- ".github/workflows/check-mkdocs-task.ya?ml"
23+
- "**.go"
2124

2225
jobs:
2326
check:

0 commit comments

Comments
 (0)