Restart count days-before-stale only for PR/issue author
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 434
- PR merge metrics
- No merged PRs in 30d
Description
Description:
The days-before-stale option will restart the count if there is a new update in the pull request or issue even if the update comes from the author or any other user.
Justification:
Sometimes we make push force to the main branch. This "push force" will update all the open pull requests with a:
This makes the days-before-stale option restart the count in the open pull request even though that has been not touched by the author.
Could be great to have the option to make the days-before-stale option to restart the count only when there is an update from the pull request author or an option to exclude this kind of event from the counter.
Are you willing to submit a PR?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the days-before-stale option detects updates on pull requests and issues, including updates caused by force-pushing to the main branch. Define done as restarting the counter only for activity from the pull request or issue author, or as providing an option to exclude these external events, with behavior covered for both issues and pull requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100