Skip to content

Commit c610df5

Browse files
committed
Add taskfile to "Check ToC" workflow's paths filter
The repository's GitHub Actions workflows are configured to only run on changes to relevant files. This makes the continuous integration system more efficient, but care must be taken to include all relevant files in the filter. The "Check ToC" workflow uses a task to run the table of contents generation commands. Previously the taskfile that defined that task was not included in the workflow's paths filter even though it is a critical asset of the workflow.
1 parent 7aa859a commit c610df5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ on:
1313
- ".github/workflows/check-toc-task.ya?ml"
1414
- "package.json"
1515
- "package-lock.json"
16+
- "Taskfile.ya?ml"
1617
- "content/categories/staff/moderation/_topics/moderator-instructions/1.md"
1718
pull_request:
1819
paths:
1920
- ".github/workflows/check-toc-task.ya?ml"
2021
- "package.json"
2122
- "package-lock.json"
23+
- "Taskfile.ya?ml"
2224
- "content/categories/staff/moderation/_topics/moderator-instructions/1.md"
2325
schedule:
2426
# Run periodically to catch breakage caused by external changes.

0 commit comments

Comments
 (0)