You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2024/11/18 18:56:34 UTC

(struts) branch fix/sonar-scan-and created (now 6e9fa714c)

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

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


      at 6e9fa714c Uses AND instead of OR to check Sonar prerequisites

This branch includes the following new commits:

     new 6e9fa714c Uses AND instead of OR to check Sonar prerequisites

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(struts) 01/01: Uses AND instead of OR to check Sonar prerequisites

Posted by lu...@apache.org.
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 <lu...@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: