forked from Rat-OS/RatOS
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 1.6 KB
/
stale.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
name: "Close stale issues or PRs"
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
- cron: "30 1 * * *"
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
days-before-stale: 14
days-before-close: 7
exempt-all-milestones: true
close-issue-reason: not_planned
only-labels: "❔ User Input"
labels-to-remove-when-unstale: "❔ User Input,💤 Stale"
stale-issue-label: "💤 Stale"
stale-pr-label: "💤 Stale"
stale-issue-message: |
It looks like there hasn't been any recent updates on
this issue. If you created this issue and no longer
consider it to get merged, then please login to github
and close it. Otherwise, if there is no further activity
on this issue, it will be automatically closed within the
next 7 days.
*PS: I'm just an automated script, not a real human.*
stale-pr-message: |
It looks like there hasn't been any recent updates on
this pull request. If you created this pull request and
no longer consider it to get merged, then please login
to github and close it. Otherwise, if there is no further
activity on this pull request, it will be automatically
closed within the next 7 days.
*PS: I'm just an automated script, not a real human.*