Skip to content

Commit 2563624

Browse files
authored
Add issue-management workflow (#2746)
* Update bug report template Signed-off-by: samet-akcay <samet.akcay@intel.com> * Update feature request template Signed-off-by: samet-akcay <samet.akcay@intel.com> * Add issue-management workflow Signed-off-by: samet-akcay <samet.akcay@intel.com> --------- Signed-off-by: samet-akcay <samet.akcay@intel.com>
1 parent 20a6d5a commit 2563624

File tree

3 files changed

+41
-3
lines changed

3 files changed

+41
-3
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Bug Report
22
description: Create a report to help us improve
3-
title: "🐞 "
3+
title: "🐞 <title>"
4+
labels: ["bug", "triage"]
45
body:
56
- type: textarea
67
id: description
@@ -103,6 +104,8 @@ body:
103104
id: version-branch
104105
attributes:
105106
label: What version/branch did you use?
107+
validations:
108+
required: true
106109
- type: textarea
107110
id: config
108111
attributes:

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "✨ Feature Request"
22
description: Suggest an idea for this project
3-
title: "[FEAT]: "
4-
labels: [enhancement]
3+
title: "✨ <title>"
4+
labels: [enhancement, triage]
55
assignees: []
66
body:
77
- type: markdown
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Issue Management
2+
3+
on:
4+
schedule:
5+
# Run daily at 5:00 UTC
6+
- cron: "0 5 * * *"
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
steps:
15+
- uses: actions/stale@v9
16+
with:
17+
# Number of days of inactivity before an issue is marked as stale
18+
days-before-stale: 90
19+
# Number of days of inactivity before a stale issue is closed
20+
days-before-close: 14
21+
# Label to apply to stale issues
22+
stale-issue-label: "stale"
23+
# Comment to post when marking an issue as stale.
24+
stale-issue-message: >
25+
This issue has been automatically marked as stale because it has not had
26+
recent activity. It will be closed if no further activity occurs. Thank you
27+
for your contributions.
28+
# Comment to post when closing a stale issue.
29+
close-issue-message: >
30+
This issue was closed because it has been stalled for 14 days with no activity.
31+
# Labels that prevent an issue from ever being marked as stale
32+
exempt-issue-labels: "bug,enhancement,security,pinned,help-wanted"
33+
# Don't mark pull requests as stale
34+
days-before-pr-stale: -1
35+
days-before-pr-close: -1

0 commit comments

Comments
 (0)