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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 0d1e958029c2f79604cb0a1fdc66766fe22d2541
Author: Alex <[email protected]>
AuthorDate: Sun Sep 25 17:32:54 2022 +0200

    build: harden component-pr.yaml permissions
    
    Signed-off-by: Alex <[email protected]>
---
 .github/workflows/component-pr.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/component-pr.yaml 
b/.github/workflows/component-pr.yaml
index 054bd27482b..4eb21bbf279 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -29,8 +29,13 @@ on:
     types:
       - completed
 
+permissions: {}
 jobs:
   process:
+    permissions:
+      pull-requests: write # to comment on a pull request
+      actions: read # to download artifact
+
     name: Process
     runs-on: ubuntu-latest
     steps:

Reply via email to