Merge pull request #1130 from apache/fix/sonar-dependabot

Skip Sonar scan on PRs created by Dependabot
This commit is contained in:
Lukasz Lenart
2024-11-18 19:50:28 +01:00
committed by GitHub
+1 -1
View File
@@ -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: