Skip to content

Commit

Permalink
fix sonarqube workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-northlander committed Nov 5, 2024
1 parent df617af commit 7439469
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
if: github.event.workflow_run.event == 'pull_request'
run: >
./gradlew --info sonar
-Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }}
-Dsonar.pullrequest.key=${{ env.PR_NUMBER }}
-Dsonar.pullrequest.branch=${{ env.PR_HEAD_REF }}
-Dsonar.pullrequest.base=${{ env.PR_BASE_REF }}
-Dsonar.scm.provider=git
-Dsonar.pullrequest.key=${{ github.event.workflow_run.pull_requests.number }}
-Dsonar.pullrequest.branch=${{ github.event.workflow_run.pull_requests.head.ref }}
-Dsonar.pullrequest.base=${{ github.event.workflow_run.pull_requests.base.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 7439469

Please sign in to comment.