-
Notifications
You must be signed in to change notification settings - Fork 3.4k
25 lines (24 loc) · 1.62 KB
/
stale_issues_and_prs.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
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is marked stale because it has been open 30 days with no activity. Remove stale label or update the issue, otherwise it will be closed in 14 days.'
stale-pr-message: 'This PR is marked stale because it has been open 60 days with no activity. Remove stale label or update the PR, otherwise it will be closed in 14 days.'
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.'
only-issue-labels: Waiting on feedback # Only consider issues with 'Waiting on feedback' labels
exempt-draft-pr: true # Do not consider a draft PR stale
exempt-all-pr-milestones: true # Do not consider a PR associated with a Milestone stale
days-before-stale: 30
days-before-pr-stale: 60
days-before-close: 14
ascending: true # Start with the oldest issues/PRs first
debug-only: false # Currently only doing "dry runs" until we're satisfied with the configuration
operations-per-run: 30 # GitHub API calls are rate limited. When debug-only is "false", this value should be approx. 30 (default) or less