-
Notifications
You must be signed in to change notification settings - Fork 8
27 lines (27 loc) · 1.58 KB
/
stale.yml
File metadata and controls
27 lines (27 loc) · 1.58 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
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8.0.0
with:
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. Thank you for your contributions.'
close-issue-message: 'This issue has been closed. Please reopen this once you add more information and updates here. If this is not the case and you need some help, feel free to seek help by mailing me at "vedeesh6@gmail.com". 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. Thank you for your contributions.'
close-pr-message: 'This pull request has been closed. Please reopen this once you commit the changes requested or make improvements to the code. If this is not the case and you need some help, feel free to seek help by mailing me at "vedeesh6@gmail.com". Thank you for your contributions!'
exempt-issue-labels: 'dont-close'
exempt-pr-labels: 'dont-close'
close-issue-label: 'Closed-Stale'
close-pr-label: 'Closed-Stale'
days-before-pr-stale: 14
days-before-issue-stale: 60
days-before-pr-close: 3
days-before-issue-close: 7