fix use of deprecated github api
Merge pull request #10 from jackfengibm/fix_use_of_deprecated_api

fix use of deprecated github api