Skip to content

Commit

Permalink
Merge pull request #615 from rikatz/stale-issues
Browse files Browse the repository at this point in the history
Adds a GH Action to close stale issues
  • Loading branch information
jcmoraisjr authored Oct 18, 2020
2 parents a3e72f4 + 9a4e643 commit 92c371d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/closeissues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue got stale and will be closed in 7 days.'
stale-issue-label: 'lifecycle/stale'
exempt-issue-labels: 'lifecycle/backlog'
days-before-stale: 30
days-before-close: 7

0 comments on commit 92c371d

Please # to comment.