push access no longer required for Pkg.publish()

fixes #6691. Also checks if any changes have been made before trying to make a pull request.