60 Commits

Author SHA1 Message Date
Filip Jeremic
db0a20585c
Update issue.updated_at if we have just marked an issue stale ()
This is to ensure we do not close issues before days-before-close has
expired. Without this fix we can encounter a situation where an issue
gets marked as stale and it gets closed immediately without waiting
days-before-close number of days.
2020-05-29 09:32:20 -04:00
Ross Brodbeck
b6f9559915
Update logging to be info level, fix un-staling of issues ()
* The bot would un-stale issues because of how it checked staleness
* Made logging info by default so its easier to troubleshoot customer issues/runs
* Updated operation counts
2020-05-26 09:16:38 -04:00
Ross Brodbeck
96b682d29f
Fix an issue where the bot doesn't ignore its own comments () 2020-05-18 20:33:59 -04:00
Ross Brodbeck
5ce6b77f2c
Fix issue close/stale dates ()
Added tests to confirm behavior.
2020-05-18 20:08:31 -04:00
Ross Brodbeck
e611bf905b
Close stale issues even if they were just marked stale () 2020-05-11 11:15:05 -04:00
Ross Brodbeck
3838b887be
Remove stale labels and ignore stale issues with comments ()
* Ignore issues that have recent comments and ignore the stale label. Defaulting to this behavior but added an option to turn it off.
* Fix up tests a bit to make this runnable. Add a test for the logic.
* Add vscode debugging configuration.
2020-05-11 10:46:03 -04:00
James M. Greene
ae2c5c5308
Prevent processing of locked/closed issues/PRs ()
Fixes 
Fixes 
2020-04-27 07:53:58 -04:00
Ross Brodbeck
a23bda33c4
Update the readme, add a test ()
* Add a test to days = -1
* Update the readme on how to build it
2020-04-16 14:23:28 -04:00
Ross Brodbeck
aad6ffa865
Refactor issue processor ()
* Refctor into an issue processor, add debug mode
* Move processor to use its own types so testing is easier
* Add more tests
2020-04-16 13:57:59 -04:00
Chris Patterson
62b122fb5f Initial import 2019-08-03 21:34:59 -04:00