action for stale (#8045)

This commit is contained in:
Ishaan Jaff 2025-01-27 18:50:58 -08:00 committed by GitHub
parent deb0f63c11
commit 02edf191a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
.github/workflows/stale.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: "Stale Issue Management"
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@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: 60 # Revert to 60 days
days-before-close: 7 # Revert to 7 days
stale-issue-label: "stale"
ignore-issue-labels: ["pinned", "security"]