From 3542cba8f3f1aec2f5e171aacb2733690953d9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Mon, 22 Nov 2021 18:29:26 +0100 Subject: [PATCH] workflows: Add back the checks for running test-kata-deploy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 3c9ae7f made /test_kata_deploy run against HEAD, but it also mistakenly removed all the checks that ensure /test_kata_deploy only runs when explicitly called. Mea culpa on this, and let's add the tests back. Fixes: #3101 Signed-off-by: Fabiano FidĂȘncio (cherry picked from commit a7c08aa4b6f3192ebf5e25bf14f79e55139da20e) --- .github/workflows/kata-deploy-test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/kata-deploy-test.yaml b/.github/workflows/kata-deploy-test.yaml index 343fc67012..548b30959f 100644 --- a/.github/workflows/kata-deploy-test.yaml +++ b/.github/workflows/kata-deploy-test.yaml @@ -6,6 +6,11 @@ name: test-kata-deploy jobs: build-asset: + if: | + github.event.issue.pull_request + && github.event_name == 'issue_comment' + && github.event.action == 'created' + && startsWith(github.event.comment.body, '/test_kata_deploy') runs-on: ubuntu-latest strategy: matrix: