Skip to content

Commit fc6e9f2

Browse files
authored
[Chore] Update template and Bot (#2188)
1 parent 9a68428 commit fc6e9f2

File tree

3 files changed

+33
-24
lines changed

3 files changed

+33
-24
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT_FORM.yml renamed to .github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Bug Report
22
description: Use this template to report a bug or issue.
3-
title: "[Bug] "
4-
labels: ["bug", "needs review"]
3+
title: "[Question] "
4+
labels: ["question", "needs review"]
55
body:
66
- type: markdown
77
attributes:
88
value: |
9-
Thanks for taking the time to fill out this bug report! You should only use this form for issues, to request a change or feature use the [feature request form](https://github.com/alexjustesen/speedtest-tracker).
9+
Thanks for taking the time to report this issue! We appreciate your help in improving the project. If this report is confirmed as a bug, we’ll update its type accordingly.
10+
11+
Please note:
12+
- For **feature requests or changes**, use the [feature request form](https://github.com/alexjustesen/speedtest-tracker/issues/new?template=feature_request.yml).
13+
- For **general questions**, **setup or configuration help**, or if you’re not sure this is a bug, please use **[GitHub Discussions](https://github.com/alexjustesen/speedtest-tracker/discussions)** instead.
1014
- type: checkboxes
1115
attributes:
1216
label: Pre-work
File renamed without changes.

.github/workflows/stale_issues.yml

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
name: Close Stale Issues
22

33
on:
4-
# Runs daily at 10:00 AM UTC
54
schedule:
6-
- cron: '0 10 * * *'
7-
# Runs at issue comment
8-
issue_comment:
9-
types: [created]
10-
11-
# Allow manual trigger
5+
- cron: '0 10 * * *' # Runs daily at 10:00 AM UTC
126
workflow_dispatch:
137

148
jobs:
@@ -20,26 +14,37 @@ jobs:
2014
uses: actions/stale@v9
2115
with:
2216
repo-token: ${{ secrets.GITHUB_TOKEN }}
23-
24-
# Issue-specific configuration
17+
18+
# Only apply to issues, not PRs
19+
only-issues: true
20+
21+
# Stale messaging
2522
stale-issue-message: >
2623
👋 This issue has been automatically marked as stale due to inactivity.
2724
If this issue is still relevant, please comment to keep it open.
2825
Without activity, it will be closed in 7 days.
29-
30-
close-issue-message: >
26+
27+
close-issue-message: >
3128
🔒 This issue has been automatically closed due to prolonged inactivity.
3229
Feel free to reopen if the issue is still valid.
33-
34-
# More nuanced staleness criteria
35-
days-before-issue-stale: 7 # Mark as stale after 7 days of inactivity
36-
days-before-issue-close: 7 # Close 7 days after being marked stale
37-
38-
# More specific labeling
30+
31+
# Timing
32+
days-before-issue-stale: 7
33+
days-before-issue-close: 7
34+
35+
# Label management
3936
stale-issue-label: 'no-issue-activity'
4037
close-issue-label: 'closed-no-issue-activity'
41-
42-
# Refined issue selection, Only issues with both bug and question label
43-
only-issue-labels: 'bug, question'
38+
remove-stale-when-updated: true
39+
40+
# Targeting only `question`-labeled issues
41+
only-issue-labels: 'question'
42+
exempt-issue-labels: >
43+
bug, chore, confirmed, dependencies, help wanted,
44+
documentation, duplicate, feature, good first issue,
45+
needs review, wontfix
46+
47+
# Skip assigned or milestone-tracked issues
48+
exempt-assignees: true
49+
exempt-milestones: true
4450

45-
# Issues will be closed as "Not Planned" by default.

0 commit comments

Comments
 (0)