Prevent calling github multiple times