This is an automated email from the ASF dual-hosted git repository.
sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new e3203fc09a0 Add : add sonar token in sonar command (#25554)
e3203fc09a0 is described below
commit e3203fc09a07c2b39ba0a21a2c6df043bc35e74e
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Wed May 10 18:01:28 2023 +0800
Add : add sonar token in sonar command (#25554)
Co-authored-by: shardingsphere <[email protected]>
---
.github/workflows/check-sonarcloud.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/check-sonarcloud.yml
b/.github/workflows/check-sonarcloud.yml
index d383b64443d..b6c1600da6f 100644
--- a/.github/workflows/check-sonarcloud.yml
+++ b/.github/workflows/check-sonarcloud.yml
@@ -63,5 +63,4 @@ jobs:
- name: Analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
- run: ./mvnw -B verify
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
-Dsonar.projectKey=apache_shardingsphere -Dmaven.javadoc.skip=true
-Drat.skip=true -Djacoco.skip=true -DskipTests
+ run: ./mvnw -B verify
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.login=${{
secrets.SONARCLOUD_TOKEN }} -Dsonar.projectKey=apache_shardingsphere
-Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true -DskipTests