Skip to content

Commit

Permalink
Merge pull request #1130 from apache/fix/sonar-dependabot
Browse files Browse the repository at this point in the history
Skip Sonar scan on PRs created by Dependabot
  • Loading branch information
lukaszlenart authored Nov 18, 2024
2 parents b3807b1 + 58d4d70 commit d6b015f
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 }}
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 d6b015f

Please sign in to comment.