use a temporary file to store the github token instead of ENV