(client *api.Client, repo ghrepo.Interface, variableName, value string)
| 148 | } |
| 149 | |
| 150 | func patchRepoVariable(client *api.Client, repo ghrepo.Interface, variableName, value string) error { |
| 151 | payload := setPayload{ |
| 152 | Value: value, |
| 153 | } |
| 154 | path := fmt.Sprintf(`repos/%s/actions/variables/%s`, ghrepo.FullName(repo), variableName) |
| 155 | return patchVariable(client, repo.RepoHost(), path, payload) |
| 156 | } |
no test coverage detected