batches: initial GitHub support for detecting archived repos
Created by: LawnGnome
This PR wires up an appropriate error from the GitHub client when a pull request is mutated on an archived repository.
PR 2 of 4 for #26820 (closed).
Test plan
Tested manually as part of the #38265 work, and added golden tests.