Skip to content

Commit

Permalink
Fix SonarCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
asteriskzie committed May 26, 2024
1 parent bdb67ca commit 9c2b29b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,5 @@ jobs:
# (Optional) Add steps for generating coverage report and other post-test tasks
- name: SonarCloud Scan
env:
CI_BRANCH: ${{ github.ref_name }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew sonarqube -Dsonar.login=$SONAR_TOKEN
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ sonar {
property("sonar.projectKey","ADPRO-C11_snackscription-review")
property("sonar.organization", "adpro-c11")
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.branch.name", System.getenv("CI_BRANCH") ?: 'main')
}
}

Expand Down

0 comments on commit 9c2b29b

Please sign in to comment.