Skip to content

Commit 097b91b

Browse files
authored
ci: fix sonar action name (#686)
1 parent f0fb637 commit 097b91b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pr.yml

+23
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,26 @@ jobs:
3939
name: Backwards compatibility test
4040
needs: [pr-test]
4141
uses: ./.github/workflows/backwards-compatibility-test.yml
42+
43+
# Test sonarcloud analysis
44+
# pr-analysis:
45+
# name: SonarCloud Pr Analysis
46+
# runs-on: ubuntu-latest
47+
# needs: pr-test
48+
# steps:
49+
# - uses: actions/checkout@v4
50+
# with:
51+
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
52+
#
53+
# # Download reports
54+
# - uses: ./.github/actions/download-coverage-report
55+
# - uses: ./.github/actions/download-lint-report
56+
#
57+
# - name: SonarCloud Scan
58+
# uses: SonarSource/[email protected]
59+
# env:
60+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
61+
# SONAR_TOKEN: ${{ secrets.SONARQUBE_SCANNER }}
62+
# with:
63+
# args: >
64+
# -Dsonar.pullrequest.key=${{ github.env.PR_NUMBER }}

0 commit comments

Comments
 (0)