-
-
Notifications
You must be signed in to change notification settings - Fork 643
31 lines (29 loc) · 1.27 KB
/
stale.yml
File metadata and controls
31 lines (29 loc) · 1.27 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
name: "Tag stale issues and pull requests"
on:
schedule:
- cron: "0 9 * * *" # Runs every day at 9 AM
workflow_dispatch: # Allows the workflow to be triggered manually
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# PRs
stale-pr-message: "This pull request has been marked as stale because it has had no activity for 10 days. If you are still working on this, please provide some updates or it will be closed in 5 days."
close-pr-message: "This pull request has been closed because it had no updates in 15 days. If you're still working on this fell free to reopen."
days-before-pr-stale: 10
days-before-pr-close: 5
stale-pr-label: "stale"
exempt-pr-labels: "keep-open"
# Issues
stale-issue-message: "This issue has been marked as stale because it has had no activity for 30 days. If you are still working on this, please provide some updates."
days-before-issue-stale: 30
days-before-issue-close: -1 # do not close Issues
stale-issue-label: "stale"
exempt-issue-labels: "keep-open"
# General
repo-token: ${{ github.token }}
operations-per-run: 100
debug-only: false
exempt-all-milestones: true