forked from RabbyHub/Rabby
-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (21 loc) · 776 Bytes
/
stale.yml
File metadata and controls
23 lines (21 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Close stale PRs
# run at 23:00 every day
on:
schedule:
- cron: "0 23 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: -1
days-before-issue-close: -1
stale-issue-label: "stale"
stale-issue-message: "This PR is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this PR will be closed automatically."
close-issue-message: "This PR was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: 30
days-before-pr-close: 14
exempt-issue-labels: "keep"