forked from Scottcjn/Rustchain
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.29 KB
/
stale.yml
File metadata and controls
35 lines (32 loc) · 1.29 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
29
30
31
32
33
34
35
name: Stale Issue & PR Cleanup
on:
schedule:
- cron: '0 6 * * 1' # Every Monday at 6 AM UTC
workflow_dispatch:
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 has been inactive for 30 days. It will be closed in 7 days unless there's new activity.
If this is still relevant, please comment to keep it open.
stale-pr-message: |
This PR has been inactive for 14 days. It will be closed in 7 days unless updated.
Need help finishing? Ask in the PR comments — we're happy to assist!
close-issue-message: 'Closed due to inactivity. Feel free to reopen if still needed.'
close-pr-message: 'Closed due to inactivity. Feel free to reopen with updates.'
days-before-stale: 30
days-before-close: 7
days-before-pr-stale: 14
days-before-pr-close: 7
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-labels: 'bounty,security,pinned,critical'
exempt-pr-labels: 'security,critical,WIP'
operations-per-run: 50