-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(stale-and-close): add new options to change the days before close #224
Conversation
Any chance of getting this reviewed and merged? We are migrating from probot and miss this feature. Thank you so much. |
ping! We've got a PR out to work around this but it would be lovely to have native support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it! When can we start using it?
@hross if you are not available to maintain it I am willing to FYI. Just need the rights to merge. |
@C0ZEN this looks good to me and I will merge it once you rebase. |
I will handle the rebase and naming conventions tomorrow. |
to avoid a breaking change and simplify the configuration the old options 'daysBeforeStale' and 'daysBeforePrClose' are kept and new options are available to override them with 'daysBeforeIssueStale', 'daysBeforePrStale', 'daysBeforeIssueClose' and 'daysBeforePrClose'
also upgrade the parser
it was not configured properly for TypeScript
c6e82d1
to
8784e9d
Compare
it was configured to only work with ts and it was not working well to be honest also now the lint scripts will also run prettier
@hross FYI it is ready IMO. |
When different stale period is used for issues and pull requests, this code uses wrong one. This was probably missed in actions#224 Fixes actions#299
* Fixed should be stale condition When different stale period is used for issues and pull requests, this code uses wrong one. This was probably missed in #224 Fixes #299 * Add tests for #299 Co-authored-by: Geoffrey Testelin <[email protected]>
Closes #214
Closes #223