Skip to content

Conversation

ashwin-ant
Copy link
Collaborator

Summary

  • Adds automated stale issue management to keep the issue tracker clean
  • Issues get a warning comment after 30 days of inactivity
  • Issues are automatically closed after 60 days total (30 days after warning)

Implementation

Two new workflows:

  1. stale-issue-manager.yml - Runs nightly to check for stale issues

    • Adds warning comment and autoclose label to 30-day inactive issues
    • Closes issues that have been inactive for 60 days (where last comment was the warning)
    • Creates the autoclose label if it doesn't exist
  2. remove-autoclose-label.yml - Handles user activity

    • Triggers when users comment on issues
    • Removes the autoclose label to reset the stale timer
    • Ignores bot comments to prevent false resets

Test plan

  • Workflows pass YAML validation
  • Test on a staging repo with old test issues
  • Verify autoclose label gets created automatically
  • Verify user comments remove the autoclose label

🤖 Generated with Claude Code

- Add stale-issue-manager.yml to check and manage inactive issues daily
- Add remove-autoclose-label.yml to remove autoclose label when users comment
- Issues get warning after 30 days of inactivity
- Issues auto-close after 60 days (30 days after warning)
- User comments reset the stale timer by removing autoclose label

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@ashwin-ant ashwin-ant requested a review from a team August 22, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants