Skip to content

Commit

Permalink
Adds Stalebot (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDanielson authored Sep 24, 2021
1 parent 3aefd43 commit 54a9b79
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: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
name: 'Close stale issues and PRs'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v4
with:
start-date: '2021-09-01T00:00:00Z'
stale-issue-message: 'Marking this issue as stale because it has been open 14 days with no activity. Please add a comment if this is still an ongoing issue; otherwise this issue will be automatically closed in 7 days.'
stale-pr-message: 'Marking this PR as stale because it has been open 30 days with no activity. Please add a comment if this PR is still relevant; otherwise this PR will be automatically closed in 7 days.'
close-issue-message: 'Closing this issue due to inactivity. Please see our [Honeycomb OSS Lifecyle and Practices](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md).'
close-pr-message: 'Closing this PR due to inactivity. Please see our [Honeycomb OSS Lifecyle and Practices](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md).'
days-before-issue-stale: 14
days-before-pr-stale: 30
days-before-issue-close: 7
days-before-pr-close: 7
any-of-labels: 'status: info needed,status: revision needed'

0 comments on commit 54a9b79

Please sign in to comment.