-
Notifications
You must be signed in to change notification settings - Fork 8
28 lines (25 loc) · 1.21 KB
/
Copy pathclose-stale-issues.yml
File metadata and controls
28 lines (25 loc) · 1.21 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
name: Close Stale Issues
on:
schedule:
- cron: '20 11 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close stale issues and PRs
uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
days-before-stale: 60
days-before-close: 14
stale-issue-label: 'stale'
stale-pr-label: 'stale'
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.'
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-issue-message: 'This issue has been automatically closed because it has been stale for 14 days with no activity.'
close-pr-message: 'This pull request has been automatically closed because it has been stale for 14 days with no activity.'
exempt-issue-labels: 'pinned,security'
exempt-pr-labels: 'pinned,security'