From 4455e38b3e95cecb14c2cbe397105a279b3897b4 Mon Sep 17 00:00:00 2001 From: jamshale Date: Thu, 23 May 2024 18:46:23 +0000 Subject: [PATCH] update project Signed-off-by: jamshale --- .github/workflows/sonar.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 29dbe7b5d3..ace6b8116a 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -53,18 +53,19 @@ jobs: git checkout -B ${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} upstream/${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} echo $(ls .) cat coverage.xml - - name: Move Coverage Report - run: | - mkdir test-reports - mv coverage.xml test-reports - echo $(ls .) - echo $(ls test-reports) + # - name: Move Coverage Report + # run: | + # mkdir test-reports + # mv coverage.xml test-reports + # echo $(ls .) + # echo $(ls test-reports) - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} with: + projectBaseDir: aries_cloudagent args: > -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }}