-
Notifications
You must be signed in to change notification settings - Fork 77
37 lines (36 loc) · 1.28 KB
/
stale.yaml
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
name: Stale Issue and PR Cleanup
on:
workflow_dispatch:
pull_request:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
debug-only: true
repo-token: ${{ secrets.STALE_WORKER_TOKEN }}
operations-per-run: 1000
days-before-stale: 45
days-before-close: 7
ascending: true
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-labels: 'work-in-progress, ignore-stale'
exempt-pr-labels: 'work-in-progress, ignore-stale'
close-issue-label: 'closed-stale'
close-pr-label: 'closed-stale'
stale-issue-message: |
This issue is stale because it has been open 45 days with no activity. Remove stale label or this issue
be closed in 7 days.
close-issue-message: 'This issue was closed because it was stale'
stale-pr-message: |
This PR is stale because it has been open 45 days with no activity. Remove stale label or this PR will be
closed in 7 days.
close-pr-message: 'This PR was closed because it has been stale.'
exempt-all-milestones: true