Browse Source

[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.
3.0.0/version-upgrade
Jiajie Zhong 3 years ago committed by GitHub
parent
commit
5855c936a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/ISSUE_TEMPLATE/bug-report.yml
  2. 2
      .github/ISSUE_TEMPLATE/feature-request.yml
  3. 1
      .github/actions/lable-on-issue
  4. 6
      .github/workflows/issue_robot.yml
  5. 12
      .github/workflows/stale.yml
  6. 3
      .gitmodules
  7. 1
      .licenserc.yaml

2
.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:

2
.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:

1
.github/actions/lable-on-issue

@ -1 +0,0 @@
Subproject commit 978f846c4ca6299fd136f465b42c5e87aca28cac

6
.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 content and send question to dev@dolphinscheduler.apache.org."
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

12
.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

3
.gitmodules vendored

@ -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

1
.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/**'

Loading…
Cancel
Save