Skip to content

Commit

Permalink
ci: fix sonar configuration for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk committed Oct 20, 2024
1 parent 8490ded commit 9015ab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/poetry-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
args: |
-Dsonar.pullrequest.base=${{ github.base_ref }}
-Dsonar.pullrequest.branch=${{ BRANCH_NAME }}
-Dsonar.pullrequest.branch=${{ env.BRANCH_NAME }}
-Dsonar.pullrequest.key=${{ github.event.issue.number }}
- name: SonarCloud Scan for Push
uses: sonarsource/sonarcloud-github-action@v3
Expand All @@ -46,7 +46,7 @@ jobs:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
with:
args: |
-Dsonar.branch.name=${{ BRANCH_NAME }}
-Dsonar.branch.name=${{ env.BRANCH_NAME }}
release-please:
needs: verify-with-tox
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9015ab6

Please sign in to comment.