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

lukaszlenart pushed a commit to branch lukaszlenart-patch-1
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 2513fcb292ea1fae754b9ff4d3b84ac778e9ac66
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Wed Jan 24 17:28:52 2024 +0100

    Stops running sonar.yml on forks
---
 .github/workflows/sonar.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index 836d50d20..4a3667e4c 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -31,6 +31,7 @@ jobs:
   sonarcloud:
     name: Scan
     runs-on: ubuntu-latest
+    if: ${{ !github.event.pull_request.head.repo.fork }}
     steps:
       - uses: actions/checkout@v4
         with:

Reply via email to