ci: try to refine condition

This commit is contained in:
Wez Furlong
2024-04-19 11:52:20 -07:00
parent 719e8a915e
commit c5da71e6d7
+5 -2
View File
@@ -6,13 +6,16 @@ clone:
depth: 0 # Need full history for doc build
when:
- event: [push, pull_request, manual]
- path:
- event: push
path: &paths
include:
- .woodpecker/docs.yml
- docs/**
- mkdocs-base.yml
- stylua.toml
- event: pull_request
path: *paths
- event: manual
steps:
restore-mtime: