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

lukaszlenart pushed a commit to branch fix/sonar-scan-and
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 6e9fa714cf5854b16840549a01199fa29d90f1cf
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Mon Nov 18 19:56:26 2024 +0100

    Uses AND instead of OR to check Sonar prerequisites
---
 .github/workflows/sonar.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index 82966bc03..03f83e416 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -31,7 +31,7 @@ jobs:
   sonarcloud:
     name: Scan
     runs-on: ubuntu-latest
-    if: ${{ !github.event.pull_request.base.repo.fork || 
!github.event.pull_request.head.repo.fork || github.actor != 'dependabot[bot]' 
}}
+    if: ${{ !github.event.pull_request.base.repo.fork && 
!github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' 
}}
     steps:
       - uses: actions/checkout@v4
         with:

Reply via email to