Skip to content

Commit

Permalink
chore(ci): add stale action
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchini committed Aug 12, 2020
1 parent 57b7df8 commit d356fd4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Close stale issues and PRs"
on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.'
stale-issue-label: 'stale'
exempt-issue-label: 'never stale'
stale-pr-message: 'This PR is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.'
stale-pr-label: 'stale'
exempt-pr-label: 'never stale'
days-before-stale: 90
days-before-close: 14

0 comments on commit d356fd4

Please sign in to comment.