Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize the ISSUE template and the automatic closing logic of outdated PRs and ISSUEs #1338

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/enhancement.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Enhancement Tracking Issue
description: Provide supporting details for a feature in development
labels: kind/feature
name: Enhancement Tracking
description: Provide supporting details for a enhancement in development
labels: kind/enhancement
body:
- type: textarea
id: feature
attributes:
label: What would you like to be added?
label: What would you like to be enhanced?
description: |
I want to enhance xxx.
validations:
Expand Down
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Feature Tracking
description: Provide supporting details for a feature in development
labels: kind/feature
body:
- type: textarea
id: feature
attributes:
label: What would you like to be added?
description: |
I want to add xxx.
validations:
required: true

- type: textarea
id: rationale
attributes:
label: Why is this needed?
validations:
required: true
8 changes: 4 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
We close this issue because it hasn't been updated in a while. Remove **Stale** label if you want to reopen it.
# issue不活跃判定时间,单位:天
days-before-issue-stale: 29
# issue最终关闭间隔时间,单位:天
days-before-issue-close: 1
# issue最终关闭间隔时间,单位:天,-1不执行自动关闭
days-before-issue-close: -1

# 为不活跃的pr添加的标签
stale-pr-label: Stale
Expand All @@ -59,8 +59,8 @@ jobs:
We close this PR because it hasn't been updated in a while. Remove **Stale** label if you want to reopen it.
# pr不活跃判定时间,单位:天
days-before-pr-stale: 14
# pr最终关闭间隔时间,单位:天
days-before-pr-close: 1
# pr最终关闭间隔时间,单位:天,-1不执行自动关闭
days-before-pr-close: -1

# 每次运行处理issue和PR条数,如果待处理的数量过多,可修改该值
operations-per-run: 100