How do I combine multiple when
with an AND instead of an OR
#4971
-
when:
- event: [push, manual]
- path:
include:
[
"lib/*",
"config/*",
"assets/*",
"test/*",
"*.exs",
".woodpecker/*.yaml",
] As it is now, a pipeline with above |
Beta Was this translation helpful? Give feedback.
Answered by
qwerty287
Mar 17, 2025
Replies: 2 comments 1 reply
-
https://woodpecker-ci.org/docs/2.8/usage/workflow-syntax#evaluate |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just put them into the same yaml object: when:
- event: [push, manual]
- - path:
+ path:
include:
[
"lib/*",
"config/*",
"assets/*",
"test/*",
"*.exs",
".woodpecker/*.yaml",
] |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jozuas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just put them into the same yaml object: