(ctx context.Context, installationID, repoID int64)
| 143 | } |
| 144 | |
| 145 | func (g *githubClient) InstallationToken(ctx context.Context, installationID, repoID int64) (string, time.Time, error) { |
| 146 | client := g.InstallationClient(installationID, &repoID) |
| 147 | return g.token(ctx, client) |
| 148 | } |
| 149 | |
| 150 | func (g *githubClient) InstallationTokenForOrg(ctx context.Context, org string) (string, time.Time, error) { |
| 151 | installation, _, err := g.appClient.Apps.FindOrganizationInstallation(ctx, org) |
nothing calls this directly
no test coverage detected