From 73d7db8a66d41eefa605c689211e19302ccb786a Mon Sep 17 00:00:00 2001 From: Matous Jobanek Date: Wed, 24 Jan 2024 14:14:07 +0100 Subject: [PATCH] check substrings of GH comments to run PR CD workflow (#528) --- .github/workflows/publish-operators-for-e2e-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-operators-for-e2e-tests.yml b/.github/workflows/publish-operators-for-e2e-tests.yml index 40189bda..8d6eac75 100644 --- a/.github/workflows/publish-operators-for-e2e-tests.yml +++ b/.github/workflows/publish-operators-for-e2e-tests.yml @@ -14,7 +14,7 @@ jobs: name: Build & push operator bundles for e2e tests runs-on: ubuntu-20.04 - if: ${{ github.event.comment == '' || github.event.comment.body == '/retest' || github.event.comment.body == '/test all' || github.event.comment.body == '/test e2e' }} + if: ${{ github.event.comment == '' || contains(github.event.comment.body, '/retest') || contains(github.event.comment.body, '/test all') || contains(github.event.comment.body, '/test e2e') }} steps: # Checkout from PR event - in that case the comment field is empty - name: Checkout code from PR event