| 14 | ) |
| 15 | |
| 16 | type GithubConfig struct { |
| 17 | JobName string `yaml:"job_name"` |
| 18 | AccessToken string `yaml:"access_token"` |
| 19 | URL string `yaml:"url,omitempty"` |
| 20 | Starred *bool `yaml:"starred,omitempty"` |
| 21 | OrgMember *bool `yaml:"org_member,omitempty"` |
| 22 | Collaborator *bool `yaml:"collaborator,omitempty"` |
| 23 | Owned *bool `yaml:"owned,omitempty"` |
| 24 | Exclude []string `yaml:"exclude,omitempty"` |
| 25 | Repositories []string `yaml:"repositories,omitempty"` |
| 26 | client *github.Client |
| 27 | } |
| 28 | |
| 29 | func (c *GithubConfig) Test() error { |
| 30 | me, err := c.getMe() |
nothing calls this directly
no outgoing calls
no test coverage detected