-
Notifications
You must be signed in to change notification settings - Fork 73
29 lines (26 loc) · 962 Bytes
/
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: "5 3 * * *"
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
This issue is stale because it has been open for 30 days without activity.
This will be closed in 7 days, unless you add the 'lifecycle/keep-alive' label or comment.
stale-pr-message: |
This pull request is stale because it has been open for 30 days without activity.
This will be closed in 7 days, unless you add the 'lifecycle/keep-alive' label or comment.
stale-pr-label: 'lifecycle/stale'
stale-issue-label: 'lifecycle/stale'
exempt-issue-labels: 'lifecycle/keep-alive'
exempt-pr-labels: 'lifecycle/keep-alive'
days-before-stale: 30
days-before-close: 7