Repository navigation
chore: shorten stale lifecycle to 30/30 days - #5440
Merged
Merged
Conversation
Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The workflow changes lack regression tests covering the new 30/30 timing, 60-day closure messages, removal of the prior policy, and preservation of exemptions, allowing lifecycle-policy drift to go undetected.
1 open issue
What changed in this PR
Shortens the inactive issue and pull request lifecycle from 90 days total to 60 days total by marking items stale after 30 days and closing them after an additional 30 days, while preserving existing workflow behavior.
Changes:
- Reduces
days-before-stalefrom 60 to 30 days. - Updates stale and closure messages to reflect the 30/30-day lifecycle.
- Preserves existing labels, exemptions, schedule, and activity-reset behavior.
| File | Description |
|---|---|
| .github/workflows/stale.yml | Updates stale timing and issue/pull request lifecycle messages for the new 30/30-day policy while preserving existing workflow settings. |
Review effort: Lite (dynamic)
| with: | ||
| # Days of inactivity before an issue or PR becomes stale | ||
| days-before-stale: 60 | ||
| days-before-stale: 30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Shorten the inactive issue and pull request lifecycle from 60 days before stale plus 30 days before closure to 30 days plus 30 days. Update the stale and closure messages to reflect the 60-day total. Existing exemptions and activity-reset behavior remain unchanged.
Testing
Set up this checkout's
.venvand editable install using the local development guide. Run commands from the checkout root..venv/bin/specify --help(Windows PowerShell:.\.venv\Scripts\specify.exe --help).venv/bin/python -m pytest tests -q(Windows PowerShell:.\.venv\Scripts\python.exe -m pytest tests -q); use affected test paths for focused checks andLC_ALL=en_US.UTF-8on macOSuv sync --extra test --quietcompleted successfully.LC_ALL=en_US.UTF-8 .venv/bin/python -m pytest tests/test_github_workflows.py -qpassed: 203 tests.git diff --checkpassed.CLI help and sample-project checks were not run because this change only adjusts the repository's stale workflow configuration. The scheduled action was not run against live issues or pull requests.
AI Disclosure
AI disclosure: GitHub Copilot App using GPT-6.1 Sol (gpt-6.1-sol), autonomous execution of the user-directed change; reasoning effort not exposed. AI assistance covered workflow configuration and message edits, validation, commit creation, and PR drafting.