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

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


The following commit(s) were added to refs/heads/4.18 by this push:
     new 864a1958680 .github: run Sonar Check only on PRs from 
apache/cloudstack branches (#8058)
864a1958680 is described below

commit 864a195868036b367ccf22ec1f26b08ce7d931d7
Author: Wei Zhou <[email protected]>
AuthorDate: Tue Oct 10 13:58:58 2023 +0200

    .github: run Sonar Check only on PRs from apache/cloudstack branches (#8058)
    
    This PR fixes #8050
---
 .github/workflows/sonar-check.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/sonar-check.yml 
b/.github/workflows/sonar-check.yml
index 196cbc93e36..71ca75bb554 100644
--- a/.github/workflows/sonar-check.yml
+++ b/.github/workflows/sonar-check.yml
@@ -28,7 +28,7 @@ concurrency:
 
 jobs:
   build:
-    if: github.repository == 'apache/cloudstack'
+    if: github.repository == 'apache/cloudstack' && 
github.event.pull_request.head.repo.full_name == github.repository
     name: Sonar JaCoCo Coverage
     runs-on: ubuntu-22.04
     steps:

Reply via email to