You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2023/02/23 12:49:41 UTC

[cloudstack] branch main updated: .github: allow only read permission in sonar-check.yml

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0457cc559e0 .github: allow only read permission in sonar-check.yml
0457cc559e0 is described below

commit 0457cc559e0bdbb205880fa230cb22078f247dae
Author: Wei Zhou <we...@apache.org>
AuthorDate: Thu Feb 23 13:47:48 2023 +0100

    .github: allow only read permission in sonar-check.yml
---
 .github/workflows/sonar-check.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/sonar-check.yml b/.github/workflows/sonar-check.yml
index 2e8c28a3ce6..0b5e4472844 100644
--- a/.github/workflows/sonar-check.yml
+++ b/.github/workflows/sonar-check.yml
@@ -19,6 +19,9 @@ name: Sonar Quality Check
 
 on: [pull_request_target]
 
+permissions:
+  contents: read
+
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
   cancel-in-progress: true