Skip to content

Commit

Permalink
Merge pull request #1338 from luanwenfei-venus/develop
Browse files Browse the repository at this point in the history
优化ISSUE模板及陈旧PR、ISSUE的自动关闭逻辑
  • Loading branch information
Sherlockhan authored Oct 20, 2023
2 parents ff43ef2 + 1790d60 commit 6f5c91e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
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

0 comments on commit 6f5c91e

Please sign in to comment.