Skip Sonar scan on PRs created by Dependabot

This commit is contained in:
Lukasz Lenart
2024-11-18 19:28:22 +01:00
committed by GitHub
parent b3807b191d
commit 58d4d700ef
+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: