Create an admin task when votes are 2 weeks old #2226
Labels
a: recruitment
Related to recruitment: (talentpool)
s: planning
Discussing details
t: enhancement
Changes or improvements to existing features
Description
We want a way to notify admins when helper votes are 2 weeks old, so that they can step in and get it over the line.
This should be done via a call to GitHub issues API to create an issue. The github org name, repo name, and the auth token should be constants to allow the values to be different in dev & prod.
Suggested implementation
Have a discord.py task that runs daily to check if there are any votes that meet the stale threshold, if so create the issue and add an emoji to that vote.
The emoji will allow us to make sure we don't create duplicate issues for the same vote.
Messages with a 🎫 reaction should also be ignored, as that means they have already passed and are awaiting actioning.
The text was updated successfully, but these errors were encountered: