Skip to content
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

Added warning feature #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

nguditis
Copy link

@nguditis nguditis commented Apr 26, 2019

code for the issue:
Feature Request: Warn before auto-closing #7

Fixes #7

@auchri auchri self-requested a review April 27, 2019 11:28
@auchri auchri self-assigned this Apr 27, 2019
Copy link
Owner

@auchri auchri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

thank you for your PR :)

I think that won't work like that, because if the warning is added, the last modified time of the issue will be updated and because of that the issue won't be closed 30 days later.

I think a solution for this might be to not read the last modified time of the issue, but read each comment and exclude the ones from the autocloser. In this way the warning message won't impact the real time someone added a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Warn before auto-closing
2 participants