Skip to content

Commit 293f6dd

Browse files
committed
ci: run tests only if files other than docs are changed
Note: merge_group doesn't support path filters hence it will still run the jobs for queue patches. Signed-off-by: Ihar Hrachyshka <[email protected]>
1 parent cdc2671 commit 293f6dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
merge_group:
55
pull_request:
66
branches: [ master ]
7+
# Only run jobs if at least one non-doc file is changed
8+
paths-ignore:
9+
- '**/*.md'
10+
- 'mkdocs.yml'
711
schedule:
812
- cron: '0 */12 * * *'
913
workflow_dispatch:

0 commit comments

Comments
 (0)