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 27e198cb711f711a2261db25edc882793f6f2018
Author: Alex <[email protected]>
AuthorDate: Sun Sep 25 17:29:30 2022 +0200

    build: harden main-checkstyle-build.yml permissions
    
    Signed-off-by: Alex <[email protected]>
---
 .github/workflows/main-checkstyle-build.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/main-checkstyle-build.yml 
b/.github/workflows/main-checkstyle-build.yml
index dd3341627a0..ef9178558f1 100644
--- a/.github/workflows/main-checkstyle-build.yml
+++ b/.github/workflows/main-checkstyle-build.yml
@@ -24,6 +24,9 @@ on:
 # Every 6 hours during weekends ... we don't want to be flooded with emails
     - cron: '30 */6 * * 6,0'
 
+permissions:
+  contents: read # to fetch code (actions/checkout)
+
 jobs:
   build:
     runs-on: ubuntu-latest

Reply via email to