Skip to content

Commit

Permalink
chore(workflows): add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesSingleton committed May 22, 2020
1 parent 64d7d93 commit 525db70
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Mark stale issues and pull requests

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 is stale because it has been open 30 days with no activity.'
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity.'
stale-issue-label: 'stale-issue'
exempt-issue-labels: 'enhancement,documentation,good-first-issue,question'
stale-pr-label: 'stale-pr'
exempt-pr-labels: 'work-in-progress'
days-before-stale: 30
days-before-close: -1

0 comments on commit 525db70

Please sign in to comment.