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

acosentino 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 94d12e385e4 Contributor cannot start PR comment workflow - Adding 
collaborator
94d12e385e4 is described below

commit 94d12e385e423f9af562280650753f944106d5c2
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Aug 27 14:10:30 2024 +0200

    Contributor cannot start PR comment workflow - Adding collaborator
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .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 f5826741bc5..b4cef478f7d 100644
--- a/.github/workflows/pr-comment.yml
+++ b/.github/workflows/pr-comment.yml
@@ -26,7 +26,7 @@ permissions:
 jobs:
   pr_commented:
     name: PR comment
-    if: ${{ github.repository == 'apache/camel' && 
github.event.issue.pull_request && (github.event.comment.author_association == 
'MEMBER' || github.event.comment.author_association == 'OWNER') && 
startsWith(github.event.comment.body, '/component-test') }}
+    if: ${{ github.repository == 'apache/camel' && 
github.event.issue.pull_request && (github.event.comment.author_association == 
'MEMBER' || github.event.comment.author_association == 'OWNER' || 
github.event.comment.author_association == 'COLLABORATOR') && 
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