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

Close the issues without an update in a time #38

Closed
wants to merge 2 commits into from

Conversation

paul-yml
Copy link

@paul-yml paul-yml commented Jul 10, 2018

Ⅰ. Describe what this PR did

There is a executable file mai in the directory
User need to get a token from GitHub setting before use, one token can be used in one time
close the issues without update in 5 seconds, the default of the two parameters is 1 second

Ⅱ. Does this pull request fix one issue?

fix #30

Ⅲ. Describe how you did it

Add a new check_issue in fetcher, modify the config, main
There are two more parameters, -u -n, u is time unit, -n is time, for example, ./mai -u s -n 5 means

Ⅳ. Describe how to verify it

get a new Token, "abcdefg" username is user, repo is poj, delete issues without update 30 days the cmd is:
./mai -o user -r poj -t abcdef -u d -t 30
and then the issues in the repo will be closed

Ⅴ. Special notes for reviews

@paul-yml paul-yml closed this Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Avoid the old, untracked issue.
1 participant