-
-
Notifications
You must be signed in to change notification settings - Fork 25
23 lines (21 loc) · 949 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
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Close Stale Pull Requests
on:
schedule:
- cron: '0 0 * * *'
jobs:
close_stale_prs:
runs-on: ubuntu-latest
steps:
- name: Close stale pull requests
uses: actions/stale@v5
with:
stale-issue-message: 'This pull request has been automatically closed because it has been inactive for more than 30 days. Please reopen if you still intend to submit this pull request.'
days-before-stale: 15
days-before-close: 30
stale-pr-message: 'This pull request has been marked as stale because it has been inactive for more than 15 days. Please update this pull request or it will be automatically closed in 15 days.'
stale-pr-label: stale