-
Notifications
You must be signed in to change notification settings - Fork 105
31 lines (25 loc) · 1.28 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
name: Mark stale issues and pull requests
on:
schedule:
- cron: '0 2 1/7 * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757 # v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open for 60 days with no activity. If the issue is still present, please leave a comment within 14 days to keep it open, otherwise it will be closed automatically.'
close-issue-message: 'This issue was closed because it has been inactive for 14 days since being marked as stale.'
stale-pr-message: 'This pull request is stale because it has been open for 60 days with no activity. If the pull request is still valid, please update it within 14 days to keep it open or merge it, otherwise it will be closed automatically.'
close-pr-message: 'This pull request was closed because it has been inactive for 14 days since being marked as stale.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
days-before-stale: 60
days-before-close: 14
remove-stale-when-updated: true
exempt-all-assignees: true
exempt-issue-labels: 'keep open'