Skip to content

Commit

Permalink
Merge pull request #1131 from apache/fix/sonar-scan-and
Browse files Browse the repository at this point in the history
Uses AND instead of OR to check Sonar prerequisites
  • Loading branch information
lukaszlenart authored Nov 19, 2024
2 parents d6b015f + 6e9fa71 commit b3e0747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b3e0747

Please sign in to comment.