feat: add auto PR / issue close after being stale for a certain amount of time #1317
+24
−0
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.
Relates to:
#1318
This PR addresses the need to manage inactive issues and pull requests by implementing a workflow that automatically marks them as stale after a period of inactivity.
Risks
Background
What does this PR do?
This PR introduces a GitHub Actions workflow that automatically marks issues and pull requests as stale after a specified period of inactivity and subsequently closes them if no further activity occurs.
What kind of change is this?
Documentation changes needed?
Testing
Where should a reviewer start?
Review the newly added workflow file located at
.github/workflows/stale.yml
.Detailed testing steps
Review Workflow Configuration:
days-before-stale
anddays-before-close
parameters are set to appropriate values that align with the project's maintenance policies.Simulate Inactivity:
days-before-stale
threshold.Trigger Workflow:
Simulate Further Inactivity:
days-before-close
threshold.Trigger Workflow Again:
Activity Check:
days-before-stale
threshold.Discord username
0x8664