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 f51987bf67b Changes the filter checking if it is a component test
request
f51987bf67b is described below
commit f51987bf67bfdbeff466fda244c57a519def2994
Author: Nicolas Filotto <[email protected]>
AuthorDate: Thu Jun 1 21:44:18 2023 +0200
Changes the filter checking if it is a component test request
---
.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 eaccf3ea360..d32bb58fc16 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 }} && contains(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