Skip to content

Commit 97aebc3

Browse files
authored
Merge branch 'master' into ec2-vpc-ssm-example
2 parents 6126b0a + 75d3beb commit 97aebc3

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
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 6 * * *"
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: This issue has not received any attention in 2 years. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
18+
stale-issue-message: This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
19+
stale-pr-message: This PR has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
20+
21+
# These labels are required
22+
stale-issue-label: closing-soon
23+
exempt-issue-label: no-autoclose
24+
stale-pr-label: closing-soon
25+
exempt-pr-label: no-autoclose
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: 730
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: 5
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)