refuse to publish if there are uncommitted changes