This is an automated email from the ASF dual-hosted git repository.
zhaojinchao 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 c42d5ec92f8 Refactor : refactor the key name (#33827)
c42d5ec92f8 is described below
commit c42d5ec92f80fa564b2e5f068e96f10ef6a35b77
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Wed Nov 27 11:38:35 2024 +0800
Refactor : refactor the key name (#33827)
* Refactor : refactor the key name
* Refactor : refactor the sonar action
---
.github/workflows/nightly-check.yml | 2 +-
.github/workflows/schedule-report.yml | 9 ---------
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/.github/workflows/nightly-check.yml
b/.github/workflows/nightly-check.yml
index b6979fa5564..f64b8aa2676 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -201,7 +201,7 @@ jobs:
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX
}}-maven-third-party-
- name: Run OWASP Check
# https://nvd.nist.gov/developers/request-an-api-key
- run: ./mvnw clean dependency-check:aggregate -DnvdApiKey=${{
secrets.OWASP_NVD_API_KEY }} -DfailBuildOnCVSS=7 -DskipProvidedScope=true
-DskipRuntimeScope=true
+ run: ./mvnw clean dependency-check:aggregate -DnvdApiKey=${{
secrets.NIST_NVD_API_KEY }} -DfailBuildOnCVSS=7 -DskipProvidedScope=true
-DskipRuntimeScope=true
- uses: actions/upload-artifact@v4
if: always()
with:
diff --git a/.github/workflows/schedule-report.yml
b/.github/workflows/schedule-report.yml
index 19a75b26dc0..04b1d5d60cc 100644
--- a/.github/workflows/schedule-report.yml
+++ b/.github/workflows/schedule-report.yml
@@ -96,15 +96,6 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ github.workspace }}/target/mergeReport/jacoco.xml
- - name: Set up JDK 17 for sonar plugin
- uses: actions/setup-java@v4
- with:
- distribution: temurin
- java-version: 17
- - name: Upload jacoco report to sonar
- env:
- SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
- run: ./mvnw -B sonar:sonar -Dsonar.projectKey=apache_shardingsphere
-Dsonar.coverage.jacoco.xmlReportPaths=${{ github.workspace
}}/target/mergeReport/jacoco.xml
- uses: actions/upload-artifact@v4
with:
name: jacoco-report