forked from aws/aws-sam-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (44 loc) · 1.96 KB
/
close-stale-issues.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Close stale issues
# Controls when the action will run.
on:
schedule:
# Uses UTC so it runs at 10PM PDT
- cron: "0 6 * * *"
jobs:
cleanup:
runs-on: ubuntu-latest
name: Stale issue job
steps:
- uses: aws-actions/stale-issue-cleanup@v3
with:
issue-types: issues
# Setting messages to an empty string will cause the automation to skip
# that category
ancient-issue-message: |
This issue has not received any attention in 1 year.
If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
stale-issue-message: |
This issue has not received a response in 14 days.
If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
stale-pr-message: |
This PR has not received a response in 14 days.
If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
# These labels are required
stale-issue-label: blocked/close-if-inactive
exempt-issue-labels: no-autoclose, stage/needs-attention
stale-pr-label: blocked/close-if-inactive
exempt-pr-labels: no-autoclose, type/feature
response-requested-label: blocked/more-info-needed
# Don't set this to not apply a label when closing issues
closed-for-staleness-label: stage/closed-for-inactivity
# Issue timing
days-before-stale: 14
days-before-close: 7
days-before-ancient: 365
# If you don't want to mark a issue as being ancient based on a
# threshold of "upvotes", you can set this here. An "upvote" is
# the total number of +1, heart, hooray, and rocket reactions
# on an issue.
minimum-upvotes-to-exempt: 10
# need a repo scope token here to make this action can trigger other github actions
repo-token: ${{ secrets.STALE_BOT_PERSONAL_TOKEN }}