Skip to content

Commit 9b27d70

Browse files
author
Timothy Mothra
authored
stale automation (#2769)
1 parent aad309b commit 9b27d70

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Github Actions Stale: https://github.com/actions/stale
3+
4+
name: "Close stale pull requests"
5+
on:
6+
schedule:
7+
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub
8+
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v4
14+
with:
15+
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.'
16+
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
17+
days-before-stale: 7
18+
days-before-close: 7

0 commit comments

Comments
 (0)