Skip to content

Commit

Permalink
Replace the Stale app for closing inactive PRs with a GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
robertknight committed Jan 22, 2021
1 parent b115d1d commit 207d4d2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/stale.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
days-before-stale: 30
days-before-close: 5

0 comments on commit 207d4d2

Please sign in to comment.