abandon_stale.py: Exclude WIP changes
Change-Id: Ib62aa783970e4d66ac37855bc0b2b92e0bf7f082
This commit is contained in:
@@ -148,7 +148,7 @@ def _main():
|
||||
if options.testmode:
|
||||
query_terms = ["status:new", "owner:self", "topic:test-abandon"]
|
||||
else:
|
||||
query_terms = ["status:new", "age:%s" % options.age]
|
||||
query_terms = ["status:new", "-is:wip", "age:%s" % options.age]
|
||||
if options.branches:
|
||||
query_terms += ["branch:%s" % b for b in options.branches]
|
||||
elif options.exclude_branches:
|
||||
|
Reference in New Issue
Block a user