automating star reposity