use github api to sync pull requests