Add .secrets file
Refactor out a bit of duplication in tests
Move bit of dubious code into GithubRepo model