condition on webhook body
diff --git a/.circleci/config.yml b/.circleci/config.yml index 47fe1a8..2aa3267 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml
@@ -1371,6 +1371,10 @@ warm-cache: when: - equal: [ "custom_webhook", << pipeline.event.name >> ] + and: + - equal: [ "custom_webhook", << pipeline.event.name >> ] + - matches: + pattern: ".*warm-cache.*" + value: << pipeline.trigger_parameters.webhook.body >> jobs: - build-linux