Skip to content

Commit

Permalink
manage stale issues in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cplee committed Feb 28, 2020
1 parent 6e1da1a commit 45839d6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/stale.yml
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@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Issue is stale and will be closed in 7 days unless there is new activity'
stale-pr-message: 'PR is stale and will be closed in 7 days unless there is new activity'
stale-issue-label: 'meta/stale'
exempt-issue-label: 'meta/stale-exempt'
stale-pr-label: 'meta/stale'
exempt-pr-label: 'meta/stale-exempt'

0 comments on commit 45839d6

Please sign in to comment.