arpitjain099 commented on code in PR #23653:
URL: https://github.com/apache/camel/pull/23653#discussion_r3330237418


##########
.github/workflows/pr-commenter.yml:
##########
@@ -24,6 +24,10 @@ on:
     types:
       - completed
 
+
+permissions:
+  contents: read

Review Comment:
   Good catch, fixed. Confirmed against the file: the artifact download 
(github.rest.actions.downloadArtifact) needs actions: read and the welcome 
comment (github.rest.issues.createComment) needs pull-requests: write, so I 
added both alongside contents: read. Pushed in ce864c0.



##########
.github/workflows/pr-labeler.yml:
##########
@@ -24,6 +24,10 @@ on:
     types:
       - completed
 
+
+permissions:
+  contents: read

Review Comment:
   Done. actions/labeler writes labels so it needs pull-requests: write, and 
the artifact download needs actions: read. Updated this one to contents: read + 
pull-requests: write + actions: read in ce864c0. Left pr-id.yml at contents: 
read on its own since it only checks out and uploads an artifact.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to