Skip to content

Commit

Permalink
Close stale PRs (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
iNikem authored Aug 3, 2020
1 parent fcc4ac6 commit ea15a2d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/state-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Close stale pull requests"
on:
schedule:
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.'
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
days-before-stale: 14
days-before-close: 7
debug-only: true

0 comments on commit ea15a2d

Please sign in to comment.