From e6878c949110e731608521cb7f6db320c7b50f39 Mon Sep 17 00:00:00 2001 From: Shem Date: Wed, 17 Jul 2024 13:17:59 +0000 Subject: [PATCH] use /bin/bash -c to support | --- steps/04_migrate_endpoints.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/04_migrate_endpoints.yml b/steps/04_migrate_endpoints.yml index 369bdaa..bc02711 100644 --- a/steps/04_migrate_endpoints.yml +++ b/steps/04_migrate_endpoints.yml @@ -24,7 +24,7 @@ githubActions: - cmd: | curl -X POST -H "Content-Type: application/json" -d "{\"text\": \"New task\"}" http://localhost:8001/tasks - cmd: | - curl localhost:8001/tasks | grep "New task" + /bin/bash -c "curl localhost:8001/tasks | grep \"New task\"" trigger: type: github_pr_lifecycle_status