mirror of
https://github.com/apache/struts.git
synced 2026-08-05 14:47:09 +00:00
Avoids running Sonar scan in forks
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
||||
sonarcloud:
|
||||
name: Scan
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !github.event.pull_request.head.repo.fork }}
|
||||
if: ${{ !github.event.pull_request.base.repo.fork || !github.event.pull_request.head.repo.fork }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user