Hacktoberfest / hacktoberfest-2020

Hacktoberfest - App to manage the annual open-source challenge, used for the 2019 & 2020 seasons.
https://hacktoberfest.digitalocean.com
Other
496 stars 147 forks source link

Don't check waiting since on waiting transition #713

Closed MattIPv4 closed 3 years ago

MattIPv4 commented 3 years ago

Description

If a PR was previously in the waiting state, with a waiting_since date over 14 days ago, and was then made invalid (opted-out), before then being made valid again the PR would not be able to transition back to waiting.

This was because we checked the old waiting since date when transitioning to waiting. This PR removes that check, allowing a PR of any age to enter the waiting state, resetting the waiting since timer.

Test process

Requirements to merge