Check that PR is still open when revalidating requests
Currently, the status of PRs isn't explicitly checked when we are revalidating the request. We should be checking that the PR is still open before we perform any operations on it, as we don't want the legal status of a completed PR to change after the fact as this is a legal requirement.