Add repository validation only to github repositories

Signed-off-by: Beatriz Rezener <beatrizrezener@gmail.com>
Signed-off-by: João Gabriel <joaogabrieldebrittoesilva@gmail.com>