-
Notifications
You must be signed in to change notification settings - Fork 145
24 lines (23 loc) · 936 Bytes
/
stale.yml
File metadata and controls
24 lines (23 loc) · 936 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
name: Close inactive PRs
on:
schedule:
- cron: "30 1 * * *"
workflow_dispatch:
jobs:
close-issues:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
pull-requests: write
steps:
- uses: actions/stale@v10
with:
# After 30 days of no activity, a PR will be marked as stale
days-before-pr-stale: 14
# PR has 7 more days to become active, otherwise it will be closed.
days-before-pr-close: 7
stale-pr-label: "stale"
stale-pr-message: "This PR has been marked as stale because it has been open for 14 days with no activity. Please comment or remove the stale label if you wish to keep it active, otherwise it will be closed in 7 days"
close-pr-message: "This PR was closed because it has been inactive for 7 days since being marked as stale."
days-before-issue-stale: -1
days-before-issue-close: -1