Separate pull request fetching and assignment logic.