create hooks as a resources that target a repo.