Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e83275

Browse files
authored
Merge pull request #253 from aws/action_and_templates
issue templates and stale issue action
2 parents 4c2cd32 + be55439 commit 9e83275

File tree

4 files changed

+123
-0
lines changed

4 files changed

+123
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: "\U0001F41B Bug report"
3+
about: The issue is about a feature in the sdk not working as expected
4+
title: ''
5+
labels: bug, needs-triage
6+
assignees: ''
7+
8+
---
9+
10+
Confirm by changing [ ] to [x] below to confirm that it's a bug:
11+
- [ ] I've gone though [Developer Guide](https://docs.aws.amazon.com/iot/latest/developerguide/what-is-aws-iot.html).
12+
- [ ] I've searched for [previous similar issues](https://github.com/aws/aws-iot-device-sdk-python/issues/) and didn't find any solution
13+
14+
**Known Issue**
15+
- [ ] I'm using ATS data type endpoint: the endpoint should look like `<prefix>-ats.iot.<region>.amazonaws.com`
16+
17+
**Describe the bug**
18+
A clear and concise description of what the bug is.
19+
20+
**Platform/OS/Device**
21+
What are you running the sdk on?
22+
23+
**SDK version number**
24+
Example: v1.5.2
25+
26+
**To Reproduce (observed behavior)**
27+
Steps to reproduce the behavior (please share code)
28+
29+
**Expected behavior**
30+
A clear and concise description of what you expected to happen.
31+
32+
**Logs/output**
33+
If applicable, add logs or error output.
34+
35+
*REMEMBER TO SANITIZE YOUR PERSONAL INFO*
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: "\U0001F680 Feature request"
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: feature-request, needs-triage
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: "\U0001F4AC Questions / Help"
3+
about: Make sure your question hasn't been asked before
4+
title: ''
5+
labels: guidance, needs-triage
6+
assignees: ''
7+
8+
---
9+
10+
Confirm by changing [ ] to [x] below:
11+
- [ ] I've searched for [previous similar issues](https://github.com/aws/aws-iot-device-sdk-python/issues/) and didn't find any solution
12+
13+
**Known Issue**
14+
- [ ] I'm using ATS data type endpoint: the endpoint should look like `<prefix>-ats.iot.<region>.amazonaws.com`
15+
16+
**Platform/OS/Device**
17+
What are you running the sdk on?
18+
19+
**Describe the question**

.github/workflows/stale_issue.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: "Close stale issues"
2+
3+
# Controls when the action will run.
4+
on:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
8+
jobs:
9+
cleanup:
10+
runs-on: ubuntu-latest
11+
name: Stale issue job
12+
steps:
13+
- uses: aws-actions/stale-issue-cleanup@v3
14+
with:
15+
# Setting messages to an empty string will cause the automation to skip
16+
# that category
17+
ancient-issue-message: Greetings! Sorry to say but this is a very old issue that is probably not getting as much attention as it deservers. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to open a new one.
18+
stale-issue-message: Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.
19+
stale-pr-message: Greetings! It looks like this PR hasn’t been active in longer than a week, add a comment or an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.
20+
21+
# These labels are required
22+
stale-issue-label: closing-soon
23+
exempt-issue-label: automation-exempt
24+
stale-pr-label: closing-soon
25+
exempt-pr-label: pr/needs-review
26+
response-requested-label: response-requested
27+
28+
# Don't set closed-for-staleness label to skip closing very old issues
29+
# regardless of label
30+
closed-for-staleness-label: closed-for-staleness
31+
32+
# Issue timing
33+
days-before-stale: 7
34+
days-before-close: 4
35+
days-before-ancient: 190
36+
37+
# If you don't want to mark a issue as being ancient based on a
38+
# threshold of "upvotes", you can set this here. An "upvote" is
39+
# the total number of +1, heart, hooray, and rocket reactions
40+
# on an issue.
41+
minimum-upvotes-to-exempt: 1
42+
43+
repo-token: ${{ secrets.GITHUB_TOKEN }}
44+
loglevel: DEBUG
45+
# Set dry-run to true to not perform label or close actions.
46+
dry-run: false

0 commit comments

Comments
 (0)