Skip to content

Commit

Permalink
add automation to close stale issues (open-telemetry#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrex authored Apr 5, 2021
1 parent 35774f1 commit 92004b1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Close stale issues"
on:
schedule:
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue was marked stale due to lack of activity. It will be closed in 30 days.'
close-issue-message: 'Closed as inactive. Feel free to reopen if this issue needs resolving.'
exempt-issue-labels: 'feature-request'
stale-issue-label: 'backlog'
days-before-stale: 30
days-before-close: 60

0 comments on commit 92004b1

Please sign in to comment.