/ .github / workflows / stale_bot.yml
stale_bot.yml
 1  name: Close stale issues and PRs # https://github.com/actions/stale
 2  on:
 3    workflow_dispatch:
 4    schedule:
 5      - cron: "*/30 * * * *" # Every 30 mins
 6  
 7  jobs:
 8    stale:
 9      runs-on: ubuntu-latest
10      steps:
11      - uses: actions/stale@v10
12        with:
13          # Issues
14          days-before-stale: 180
15          stale-issue-label: stale
16          days-before-close: 30
17          stale-issue-message: "This issue has been automatically marked as stale as there has been no activity for 6 months."
18          # Pull requests
19          days-before-pr-stale: 7
20          days-before-pr-close: 14
21          exempt-pr-labels: pinned,security,roadmap
22          operations-per-run: 100