Archive old PRs, fixed refresh task

Added a task to archive old pull requests, and updated the refresh task to work properly, review from @despo ?
can we extract the year in a variable so we can reuse this?