(client *api.Client, repo ghrepo.Interface, app shared.App)
| 48 | } |
| 49 | |
| 50 | func getRepoPubKey(client *api.Client, repo ghrepo.Interface, app shared.App) (*PubKey, error) { |
| 51 | return getPubKey(client, repo.RepoHost(), fmt.Sprintf("repos/%s/%s/secrets/public-key", |
| 52 | ghrepo.FullName(repo), app)) |
| 53 | } |
| 54 | |
| 55 | func getEnvPubKey(client *api.Client, repo ghrepo.Interface, envName string) (*PubKey, error) { |
| 56 | return getPubKey(client, repo.RepoHost(), fmt.Sprintf("repos/%s/environments/%s/secrets/public-key", |