Give advice when GitHub API requests fail

Refs #21023.