mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-31 22:23:12 +08:00
add automation to close stale issues (#393)
This commit is contained in:
18
.github/workflows/close-stale-issues.yml
vendored
Normal file
18
.github/workflows/close-stale-issues.yml
vendored
Normal file
@ -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
|
Reference in New Issue
Block a user