diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 4a0e88ae79..098e555e8e 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -9,6 +9,8 @@ on: jobs: verify: runs-on: ubuntu-latest + env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} services: rabbitmq: @@ -35,4 +37,8 @@ jobs: run: mvn license:check --batch-mode - name: Run tests & javadoc - run: mvn verify javadoc:javadoc --batch-mode \ No newline at end of file + run: mvn verify javadoc:javadoc --batch-mode +# +# - name: Scan (Sonar) +# if: ${{ BRANCH_NAME == 'master' }} +# run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=eclipse-master -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode