-
-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Currently the retire script will open a draft PR for anyone who has held a commit bit longer than a year and not used it for at least a year.
The wording of the created PR allows the delegation to use their own judgement to decide whether or not to retire the individual, however if they were to close the PR, another one would be opened the next time the bot runs.
I'd propose implementing a way to postpone retirement checks in such exceptional circumstances.
One way we could do this would be to extend the content of the "member" file to include multiple fields; "created at" and "eligible for retirement at". To preserve existing behaviour: if the file is empty or a field is missing, then "created at" defaults to the file's merge date and "eligible for retirement at" defaults to one year after "created at".
This avoids asking people to arbitrarily merging something just to satisfy the bot, which could inadvertently encourage poor-quality merges.
Instead, the delegation can elect to grant specific users a "stay of execution" by explicitly postponing their "eligible for retirement at" date.