hub PR function post