-
-
Notifications
You must be signed in to change notification settings - Fork 425
37 lines (33 loc) · 942 Bytes
/
stale.yml
File metadata and controls
37 lines (33 loc) · 942 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
33
34
35
36
37
name: Stale Issues and PRs
on:
schedule:
# Run daily at 2 AM UTC
- cron: '0 2 * * *'
workflow_dispatch: # Allow manual trigger
permissions:
issues: write
pull-requests: write
jobs:
stale-bugs:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f
with:
days-before-issue-stale: 30
days-before-issue-close: 7
remove-stale-when-updated: true
only-issue-types: 'bug'
stale-issue-label: 'stale'
close-issue-label: 'stale'
operations-per-run: 500
stale-prs:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f
with:
days-before-pr-stale: 30
days-before-pr-close: 7
remove-stale-when-updated: true
stale-pr-label: 'stale'
close-pr-label: 'stale'
operations-per-run: 500