-
Notifications
You must be signed in to change notification settings - Fork 23
30 lines (28 loc) · 1.45 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
# Close stale issues after a defined period of time.
#
name: Close Stale Issues
on:
issues:
types: [reopened]
schedule:
- cron: "30 4 * * *"
jobs:
stale:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Autoclose stale issues.
uses: actions/stale@v9
with:
days-before-close: 5
days-before-stale: 10
exempt-issue-labels: 'in progress, bug, feature request, new device, improvement, dependency, announcement'
exempt-pr-labels: 'in progress, bug, feature request, new device, improvement, dependency, announcement'
remove-stale-when-updated: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: 'stale'
stale-issue-message: 'This Issue was automatically marked as stale (out of date) because it had no activity recently. It will close in 5 days if there will be no new activity. Thank you for your contribution.'
close-issue-message: 'This Issue has automatically been closed due to no new activities. Once again, thank you for your contribution.'
stale-pr-label: 'stale'
stale-pr-message: 'This Pull Request was automatically marked as stale (out of date) because it had no activity recently. It will close in 5 days if there will be no new activity. Thank you for your contribution.'
close-pr-message: 'This Pull Request has automatically been closed due to no new activities. Once again, thank you for your contribution.'