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@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0 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