From 952c4618f51d4a9a465e4bfdebe96cecd368840e Mon Sep 17 00:00:00 2001 From: Marinov Avgustin Date: Fri, 4 Oct 2024 18:20:25 +0300 Subject: [PATCH] Revert "Remove unused code from verify action (#1873)" This reverts commit a8ef586027cf89b35fa922fa96844c11e21aa1e1. --- .github/workflows/verify.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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