-
-
Notifications
You must be signed in to change notification settings - Fork 1k
34 lines (30 loc) · 960 Bytes
/
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
name: 'Stale issue handler'
concurrency:
group: stale_issue_handler_${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
id: stale
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days'
days-before-issue-stale: 90
days-before-pr-stale: 180
days-before-close: 15
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: enhancement
exempt-pr-labels: keep-open
operations-per-run: 1000
- name: Lock closed issues and PRs
uses: dessant/lock-threads@v5