From 2752e782061dab02a37e5752f672e1c276607960 Mon Sep 17 00:00:00 2001 From: Thomas Turrell-Croft Date: Mon, 17 Apr 2023 15:46:03 +0100 Subject: [PATCH] Fix sonar should only run when owner is BerryCloud (#127) --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 893e82d3..a4bfcd91 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -28,7 +28,7 @@ jobs: run: mvn -B verify --file pom.xml - name: Scan with Sonar run: | - if [ $FORK = false] + if [ $FORK = false ] then mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=BerryCloud_xapi-java -Dsonar.organization=berry-cloud -Dsonar.host.url=https://sonarcloud.io --file pom.xml fi