.github: run Sonar Check only on PRs from apache/cloudstack branches (#8058)

This PR fixes #8050
This commit is contained in:
Wei Zhou 2023-10-10 13:58:58 +02:00 committed by GitHub
parent a9f3af85cb
commit 864a195868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ concurrency:
jobs:
build:
if: github.repository == 'apache/cloudstack'
if: github.repository == 'apache/cloudstack' && github.event.pull_request.head.repo.full_name == github.repository
name: Sonar JaCoCo Coverage
runs-on: ubuntu-22.04
steps: