name: "Stale Issue Management" on: schedule: - cron: "0 0 * * *" # Runs daily at midnight UTC workflow_dispatch: permissions: issues: write pull-requests: write jobs: stale: if: github.repository == 'BerriAI/litellm' runs-on: ubuntu-latest steps: - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs." stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs." days-before-stale: 90 # Revert to 60 days days-before-close: 7 # Revert to 7 days stale-issue-label: "stale" operations-per-run: 1000