Add pagination support to some github calls