This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 4d0b6b85794 Fix pr_commented job condition
4d0b6b85794 is described below

commit 4d0b6b8579415143cac2b5c38eb014d1683d21be
Author: Nicolas Filotto <essob...@users.noreply.github.com>
AuthorDate: Thu Jun 1 21:53:27 2023 +0200

    Fix pr_commented job condition
---
 .github/workflows/pr-comment.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml
index d32bb58fc16..1e265ee78ac 100644
--- a/.github/workflows/pr-comment.yml
+++ b/.github/workflows/pr-comment.yml
@@ -23,7 +23,7 @@ on:
 jobs:
   pr_commented:
     name: PR comment
-    if: github.repository == 'apache/camel' && ${{ 
github.event.issue.pull_request }} && startsWith(github.event.comment.body, 
'/component-test')
+    if: ${{ github.repository == 'apache/camel' && 
github.event.issue.pull_request && startsWith(github.event.comment.body, 
'/component-test') }}
     permissions:
       pull-requests: write # to comment on a pull request
       actions: read # to download artifact

Reply via email to