Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitallowed
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: \${{ secrets\.GITHUB_TOKEN }}
def __init__\(self, token: str, owner: str, repo: str.*
self\.token = token
token = os\.environ\.get\(\"GH_TOKEN\"\)
\-Dsonar\.token=\"\$SONAR_TOKEN\"
9 changes: 8 additions & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,14 @@ jobs:

- name: Run SonarQube analysis
if: ${{ steps.check_languages.outputs.uses_java == 'true' && env.SONAR_TOKEN_EXISTS == 'true' }}
run: mvn sonar:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }}
run: |
# issues with sonar scanner and sslcontext-kickstart 9.1.0, forcing re-download
rm -rf ~/.m2/repository/io/github/hakky54/sslcontext-kickstart/9.1.0
mvn dependency:get -U -Dartifact=io.github.hakky54:sslcontext-kickstart:9.1.0
# run sonar scan
mvn sonar:sonar -Dsonar.token="$SONAR_TOKEN"
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9
Expand Down