-
-
Notifications
You must be signed in to change notification settings - Fork 477
41 lines (37 loc) · 1.23 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
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Close inactive issues
on:
schedule:
- cron: '4 20 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
concurrency:
group: stale
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
with:
days-before-issue-stale: 120
days-before-issue-close: 14
stale-issue-message: "This issue is stale because it has been open for 4 months with no activity. If this is still an issue then please leave a comment, or else this will close in 2 weeks."
close-issue-message: "This issue was closed because it has been 2 weeks since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
exempt-issue-labels: "Work-in-Progress,Planned,Improvement"
operations-per-run: 100
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5.0.1
with:
issue-inactive-days: '365'
issue-lock-reason: 'resolved'
process-only: 'issues'