WenjieDu/TSDB

View on GitHub
.github/workflows/stale.yml

Summary

Maintainability
Test Coverage
name: "Close stale issues and PRs"

on:
  schedule:
    - cron: "30 5 * * *"

jobs:
  stale:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/stale@v8
        with:
          stale-issue-message: 'This issue had no activity for **30 days**. It will be closed in **2 weeks** unless there is some new activity. Is this issue already resolved?'
          stale-issue-label: 'stale'
          exempt-issue-labels: 'bug,enhancement,good first issue,keep'
          stale-pr-message: 'This pull request had no activity for **30 days**. It will be closed in **2 weeks** unless there is some new activity.'
          stale-pr-label: 'stale'
          days-before-stale: 30
          days-before-close: 14
          operations-per-run: 200