-
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (26 loc) · 956 Bytes
/
stale.yml
File metadata and controls
32 lines (26 loc) · 956 Bytes
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
name: "Mark stale issues and pull requests"
on:
schedule:
# Running at 04:17 UTC to avoid peak server load
- cron: "17 4 * * *"
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
# Timing
days-before-stale: 30
days-before-close: 7
# Issues configuration
stale-issue-label: "no-recent-activity"
stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days."
# Pull Request configuration (restored)
stale-pr-label: "stale"
stale-pr-message: "This PR is stale because it has been open 30 days with no activity."
# Exemptions
exempt-issue-labels: "confirmed,pinned,security"