Skip to content

Close stale issues

Close stale issues #43

name: Close stale issues
on:
schedule:
- cron: "0 0 * * *" # Runs daily at midnight UTC
jobs:
close-stale-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 60 # Mark issues as stale after 60 days of inactivity
days-before-issue-close: 30 # Close issues 30 days after being marked as stale
stale-issue-label: "stale"
stale-issue-message: "This issue has been automatically marked as stale due to inactivity."
close-issue-message: "This issue has been automatically closed due to inactivity."
repo-token: ${{ secrets.GITHUB_TOKEN }}