Skip to content

Commit

Permalink
Adds stale issue workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 authored Aug 27, 2020
1 parent bf19a42 commit d0ed149
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Mark and Close stale issues'

on:
schedule:
- cron: '0 * * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
Marking issue as stale, since there has been no activity in 30 days.
Unless the issue is updated or the 'stale' tag is removed, this issue will be closed in 7 days.
stale-pr-message: |
Marking PR as stale, since there has been no activity in 30 days.
Unless the PR is updated or the 'stale' tag is removed, this PR will be closed in 7 days.
days-before-stale: 30
days-before-close: 7
stale-issue-label: 'stale'
stale-pr-label: 'stale'
debug-only: false # Setting to true will enable dry-run

0 comments on commit d0ed149

Please sign in to comment.