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 f947726d870 Contributor cannot start PR comment workflow
f947726d870 is described below
commit f947726d87075ee2a2a70256aeeca036a0af7346
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Aug 27 13:55:38 2024 +0200
Contributor cannot start PR comment workflow
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 693c2d41c44..f5826741bc5 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' ||
github.event.comment.author_association == 'CONTRIBUTOR') &&
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') &&
startsWith(github.event.comment.body, '/component-test') }}
permissions:
pull-requests: write # to comment on a pull request
actions: read # to download artifact