-
Notifications
You must be signed in to change notification settings - Fork 283
37 lines (32 loc) · 1.36 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
name: Mark Stale Issues and PRs
on:
schedule:
# Run daily at midnight
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# Issues configuration
stale-issue-message:
"This issue has been automatically marked as stale because it has
not had recent activity. Remove stale label or comment or this will
be closed in 5 days."
stale-issue-label: "no-issue-activity"
days-before-issue-stale: 30 # Mark as stale after 30 days of inactivity
days-before-issue-close: 5 # Close 5 days after being marked stale
# Pull Request configuration
stale-pr-message:
"This pull request has been automatically marked as stale because it
has not had recent activity. Remove stale label or comment or this
will be closed in 7 days."
stale-pr-label: "no-pr-activity"
days-before-pr-stale: 21 # Mark PRs as stale after 21 days
days-before-pr-close: 7 # Close PRs 7 days after being marked stale
# Exempt labels and other configurations
exempt-issue-labels: "bug,enhancement,in-progress,not-stale"
exempt-pr-labels: "work-in-progress,review-needed,not-stale"
# Optional: Dry run to test configuration
dry-run: true