forked from open-telemetry/opentelemetry-python-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add automation to close stale issues (open-telemetry#393)
- Loading branch information
alrex
authored
Apr 5, 2021
1 parent
35774f1
commit 92004b1
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |