-
Notifications
You must be signed in to change notification settings - Fork 28
22 lines (21 loc) · 1.28 KB
/
close-stale-issues.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# https://github.com/actions/stale
name: "Close stale issues and PRs"
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# https://github.com/actions/stale?tab=readme-ov-file#all-options
exempt-issue-labels: "neverstale"
exempt-pr-labels: "WIP,dependencies"
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need to keep this issue open set label of this issue to 'neverstale'. Thank you for your contributions."
close-issue-message: "This issue has been automatically closed due to inactivity. Thank you for your contributions."
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need to keep this pull request open set label of this pull request to 'WIP'. Thank you for your contributions."
close-pr-message: "This pull request has been automatically closed due to inactivity. Thank you for your contributions."
days-before-stale: 60
days-before-close: 14
stale-issue-label: "stale"