Skip to content

Commit

Permalink
Uses AND instead of OR to check Sonar prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Nov 18, 2024
1 parent d6b015f commit 6e9fa71
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 6e9fa71

Please sign in to comment.