From 8d2a83cd67a1a8caf1cafb75cb4b29b2be356176 Mon Sep 17 00:00:00 2001 From: Adrian Wilkins Date: Mon, 3 Aug 2020 16:02:43 +0100 Subject: [PATCH] Try quoting the expression --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65cae51..e32b73a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: types: [created, edited] jobs: test: - if: 'pull_request|push'.contains(github.event_name) || github.event.comment.body == 'rebuild' + if: '"pull_request|push".contains(github.event_name) || github.event.comment.body == "rebuild"' strategy: matrix: platform: [ubuntu-latest, macos-latest]