mirror of
https://github.com/apache/struts.git
synced 2026-08-05 22:56:59 +00:00
Skip Sonar scan on PRs created by Dependabot
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user