-
Notifications
You must be signed in to change notification settings - Fork 4
28 lines (25 loc) 路 798 Bytes
/
Copy pathstale.yml
File metadata and controls
28 lines (25 loc) 路 798 Bytes
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: Stale Cleanup
on:
schedule:
- cron: "30 1 * * *"
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
name: Close stale issues & PRs
runs-on: ubuntu-latest
steps:
- name: Mark & close stale issues/PRs
uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 45
days-before-close: 0
stale-issue-message: >
This issue is marked stale due to 45+ days of inactivity and is being closed.
If this is still relevant, please comment to reopen.
stale-pr-message: >
This PR is marked stale due to 45+ days of inactivity and is being closed.
If this is still relevant, please comment to reopen.