Skip to content

Commit

Permalink
ci: Test for PR info (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc committed Jul 5, 2024
1 parent b0cce01 commit 61ddc06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.scm.revision=${{ github.event.pull_request.head.sha }}
-Dsonar.pullrequest.key=${{ github.event.number }}
-Dsonar.pullrequest.branch=${{ github.event.head.ref }}
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}

0 comments on commit 61ddc06

Please sign in to comment.