name: "Stale issues"
on:
  schedule:
  - cron: "0 0 * * *"

permissions:
    contents: read
    pull-requests: write
    issues: write

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/stale@v4
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        stale-issue-message: "This issue has been marked stale and will be closed soon without further activity. To keep the issue open, please respond to the comment to keep the discussion going."
        close-issue-message: "This issue has been automatically closed due to inactivity. Please feel free to re-open it if the issue persists."
        stale-issue-label: "stale"
        stale-pr-message: "This pull request has been marked stale and will be closed soon without further activity. Please update the PR or respond to this comment if you're still interested in working on this."
        close-pr-message: "This pull request has been automatically closed due to inactivity. Please feel free to re-open it if you still want to work on it."
        stale-pr-label: "stale"
        days-before-issue-stale: 700
        days-before-issue-close: 15
        days-before-pr-stale: 30
        days-before-pr-close: 15
        remove-issue-stale-when-updated: true
        remove-pr-stale-when-updated: true
        operations-per-run: 100
        debug-only: false

name: "Stale issues"
on:
  schedule:
  - cron: "0 0 * * *"

permissions:
    contents: read
    pull-requests: write
    issues: write

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/stale@v4
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        stale-issue-message: "This issue has been marked stale and will be closed soon without further activity. To keep the issue open, please respond to the comment to keep the discussion going."
        close-issue-message: "This issue has been automatically closed due to inactivity. Please feel free to re-open it if the issue persists."
        stale-issue-label: "stale"
        stale-pr-message: "This pull request has been marked stale and will be closed soon without further activity. Please update the PR or respond to this comment if you're still interested in working on this."
        close-pr-message: "This pull request has been automatically closed due to inactivity. Please feel free to re-open it if you still want to work on it."
        stale-pr-label: "stale"
        days-before-issue-stale: 700
        days-before-issue-close: 15
        days-before-pr-stale: 30
        days-before-pr-close: 15
        remove-issue-stale-when-updated: true
        remove-pr-stale-when-updated: true
        ascending: true
        operations-per-run: 500
        debug-only: false

Bump up stalebot ops per run, work from the oldest issues to newest
Bump up stalebot ops per run, work from the oldest issues to newest
