-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.18 KB
/
stale.yml
File metadata and controls
37 lines (34 loc) · 1.18 KB
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 Management
on:
schedule:
- cron: "30 2 * * 1" # Every Monday at 02:30 UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Mark and close stale issues and PRs
uses: actions/stale@v9
with:
stale-issue-message: >
This issue has had no activity for 60 days and will be closed in 14
days unless there is new activity. If this is still relevant, please
comment or remove the `stale` label.
close-issue-message: >
Closed due to inactivity. Reopen if this is still needed.
stale-pr-message: >
This PR has had no activity for 30 days and will be closed in 14
days unless there is new activity.
close-pr-message: >
Closed due to inactivity. Reopen if this is still needed.
days-before-stale: 60
days-before-close: 14
days-before-pr-stale: 30
days-before-pr-close: 14
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: "P0: critical,pinned"
exempt-pr-labels: "pinned"