diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6cc122c..7d5ee6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,4 +49,5 @@ jobs: org.jacoco:jacoco-maven-plugin:report \ sonar:sonar -Dsonar.host.url=https://sonarcloud.io \ -Dsonar.organization=wttech \ - -Dsonar.projectKey=wttech_AEM-Rules-for-SonarQube + -Dsonar.projectKey=wttech_AEM-Rules-for-SonarQube \ + -Dsonar.branch.name=${{ github.head_ref || github.ref_name }}