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 1b256f3776f Testing check user permission action
1b256f3776f is described below

commit 1b256f3776fa88ede3776dbbdccae4183db54236
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Aug 27 15:17:42 2024 +0200

    Testing check user permission action
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 .github/workflows/pr-comment.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml
index f325f0c6829..2174f915721 100644
--- a/.github/workflows/pr-comment.yml
+++ b/.github/workflows/pr-comment.yml
@@ -35,6 +35,11 @@ jobs:
       matrix:
         java: [ '17' ]
     steps:
+      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 
v4.1.7
+        with:
+          persist-credentials: false
+      - name: Check Permission
+        uses: ./.github/actions/check-user-permission
       - name: Retrieve sha
         id: pr
         env:
@@ -54,8 +59,6 @@ jobs:
         with:
           ref: ${{ env.pr_sha }}
           submodules: recursive
-      - name: Check Permission
-        uses: ./.github/actions/check-user-permission
       - uses: 
peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
         with:
           issue-number: ${{ github.event.issue.number }}

Reply via email to