This is an automated email from the ASF dual-hosted git repository.

panjuan 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 5f311f692fc Update : add more parameters for stale action (#26611)
5f311f692fc is described below

commit 5f311f692fc783d934c91cca0f43d4a9f90e02a2
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Wed Jul 12 16:34:32 2023 +0800

    Update : add more parameters for stale action (#26611)
---
 .github/workflows/nightly-check.yml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/nightly-check.yml 
b/.github/workflows/nightly-check.yml
index 5851202aaef..a9eee5c5695 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -42,7 +42,7 @@ jobs:
             ${{ env.CACHE_PREFIX }}-maven-third-party-
       - name: Run SpotBugs
         run: ./mvnw clean install spotbugs:check -T1C
-  
+
   check-and-report-sonarcloud:
     if: (github.repository == 'apache/shardingsphere')
     name: Check - SonarCloud
@@ -71,7 +71,7 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
         run: ./mvnw -B clean verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Dsonar.projectKey=apache_shardingsphere -Dmaven.javadoc.skip=true 
-Drat.skip=true -Djacoco.skip=true -DskipTests
-  
+
   jacoco-coverage-report-sonarcloud:
     if: (github.repository == 'apache/shardingsphere')
     name: Coverage - SonarCloud
@@ -103,7 +103,7 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
         run: ./mvnw -B sonar:sonar -Dsonar.login=${SONAR_TOKEN} 
-Dsonar.projectKey=apache_shardingsphere 
-Dsonar.coverage.jacoco.xmlReportPaths=report/target/site/jacoco-aggregate/jacoco.xml
 -Dmaven.javadoc.skip=true -Drat.skip=true
-  
+
   checkstyle-report-sonarcloud:
     if: (github.repository == 'apache/shardingsphere')
     name: Checkstyle - SonarCloud
@@ -134,7 +134,7 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
         run: ./mvnw -B sonar:sonar -Dsonar.projectKey=apache_shardingsphere 
-Dsonar.java.checkstyle.reportPaths=target/checkstyle-result.xml
-  
+
   check-dead-links:
     if: (github.repository == 'apache/shardingsphere')
     name: Check - Dead Links
@@ -195,7 +195,7 @@ jobs:
         uses: github/codeql-action/analyze@v2
         with:
           category: "/language:java"
-  
+
   check-stale:
     if: (github.repository == 'apache/shardingsphere')
     name: Check - Stale Issues
@@ -203,6 +203,7 @@ jobs:
     timeout-minutes: 10
     permissions:
       issues: write
+      pull-requests: write
     steps:
       - uses: actions/stale@v8
         with:
@@ -211,3 +212,6 @@ jobs:
           days-before-pr-stale: 30
           days-before-close: -1
           stale-issue-label: "stale"
+          stale-pr-label: "stale"
+          operations-per-run: 1000
+          remove-stale-when-updated: true

Reply via email to