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

leonbao pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 5855c93  [community] Add stale bot close issue/pr days (#6676)
5855c93 is described below

commit 5855c936a4a3daafcc12b408a46b8e8470ec34c4
Author: Jiajie Zhong <[email protected]>
AuthorDate: Fri Nov 5 18:35:41 2021 +0800

    [community] Add stale bot close issue/pr days (#6676)
    
    * Add label `Waiting for reply` to bug/feature label
    avoid stale bot close
    
    * Remove bot label-on-issue
    
    We do not need this anymore, cause when issue is created
    it would auto add label `waiting for reply` for now
    
    * Change issue/pr stale and close days.
    
    After this PR merged, issue would be close in 37 days
    and PR will be close in 127 days.
---
 .github/ISSUE_TEMPLATE/bug-report.yml      |  2 +-
 .github/ISSUE_TEMPLATE/feature-request.yml |  2 +-
 .github/actions/lable-on-issue             |  1 -
 .github/workflows/issue_robot.yml          |  6 ------
 .github/workflows/stale.yml                | 12 ++++++------
 .gitmodules                                |  3 ---
 .licenserc.yaml                            |  1 -
 7 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml 
b/.github/ISSUE_TEMPLATE/bug-report.yml
index ae056db..5077c14 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -18,7 +18,7 @@
 name: Bug report
 title: "[Bug] [Module Name] Bug title "
 description: Problems and issues with code of Apache Dolphinscheduler
-labels: [ "bug" ]
+labels: [ "bug", "Waiting for reply" ]
 body:
   - type: markdown
     attributes:
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml 
b/.github/ISSUE_TEMPLATE/feature-request.yml
index cb8d709..27ca762 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -17,7 +17,7 @@
 name: Feature request
 description: Suggest an idea for this project
 title: "[Feature][Module Name] Feature title"
-labels: [ "new feature" ]
+labels: [ "new feature", "Waiting for reply" ]
 body:
   - type: markdown
     attributes:
diff --git a/.github/actions/lable-on-issue b/.github/actions/lable-on-issue
deleted file mode 160000
index 978f846..0000000
--- a/.github/actions/lable-on-issue
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 978f846c4ca6299fd136f465b42c5e87aca28cac
diff --git a/.github/workflows/issue_robot.yml 
b/.github/workflows/issue_robot.yml
index e4f4fd0..3907773 100644
--- a/.github/workflows/issue_robot.yml
+++ b/.github/workflows/issue_robot.yml
@@ -42,9 +42,3 @@ jobs:
         with:
           message: "Hi:\n* Thank you for your feedback, we have received your 
issue, Please wait patiently for a reply.\n* In order for us to understand your 
request as soon as possible, please provide detailed information、version or 
pictures.\n* If you haven't received a reply for a long time, you can subscribe 
to the developer's email,Mail subscription steps reference 
https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html 
,Then write the issue URL in the email c [...]
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
-      - name: "Add lable in issue"
-        uses: ./.github/actions/lable-on-issue
-        with:
-          add-labels: "Waiting for reply"
-          ignore-if-labeled: true
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 988f7af..ee7d860 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -30,22 +30,22 @@ jobs:
       - uses: actions/stale@v4
         with:
           # Stale Issues
-          days-before-issue-stale: 14
-          days-before-issue-close: 3
+          days-before-issue-stale: 30
+          days-before-issue-close: 7
           # We do not stale Issues with label `Waiting for reply`, `new 
feature` and `DSIP`
           exempt-issue-labels: 'Waiting for reply,new feature,DSIP'
           stale-issue-message: >
             This issue has been automatically marked as stale because it has 
not had recent activity
-            for 14 days. It will be closed in next 3 days if no further 
activity occurs.
+            for 30 days. It will be closed in next 7 days if no further 
activity occurs.
           close-issue-message: >
             This issue has been closed because it has not received response 
for too long time. You could
             reopen it if you encountered similar problems in the future.
           # Stale PRs
-          days-before-pr-stale: 60
-          days-before-pr-close: 5
+          days-before-pr-stale: 120
+          days-before-pr-close: 7
           stale-pr-message: >
             This pull request has been automatically marked as stale because 
it has not had recent
-            activity for 60 days. It will be closed in 5 days if no further 
activity occurs.
+            activity for 120 days. It will be closed in 7 days if no further 
activity occurs.
           close-pr-message: >
             This pull request has been closed because it has not had recent 
activity. You could reopen it
             if you try to continue your work, and anyone who are interested in 
it are encouraged to continue
diff --git a/.gitmodules b/.gitmodules
index 8f34c9b..e7b1606 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -18,9 +18,6 @@
 [submodule ".github/actions/comment-on-issue"]
        path = .github/actions/comment-on-issue
        url = https://github.com/xingchun-chen/actions-comment-on-issue
-[submodule ".github/actions/lable-on-issue"]
-       path = .github/actions/lable-on-issue
-       url = https://github.com/xingchun-chen/labeler
 [submodule ".github/actions/translate-on-issue"]
        path = .github/actions/translate-on-issue
        url = https://github.com/xingchun-chen/translation-helper
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 44a776e..143cafc 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -42,7 +42,6 @@ header:
     - '**/NOTICE'
     - '**/node_modules/**'
     - '.github/actions/comment-on-issue/**'
-    - '.github/actions/lable-on-issue/**'
     - '.github/actions/reviewdog-setup/**'
     - '.github/actions/translate-on-issue/**'
 

Reply via email to