Skip to content

Commit f570934

Browse files
weizhouapacheyadvr
authored andcommitted
.github: run Sonar Check only on PRs from apache/cloudstack branches (apache#8058)
This PR fixes apache#8050 (cherry picked from commit 864a195) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent db54a09 commit f570934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sonar-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository == 'apache/cloudstack'
31+
if: github.repository == 'apache/cloudstack' && github.event.pull_request.head.repo.full_name == github.repository
3232
name: Sonar JaCoCo Coverage
3333
runs-on: ubuntu-22.04
3434
steps:

0 commit comments

Comments
 (0)