(client *api.Client, host, orgName, visibility, variableName, value string, repositoryIDs []int64)
| 130 | } |
| 131 | |
| 132 | func patchOrgVariable(client *api.Client, host, orgName, visibility, variableName, value string, repositoryIDs []int64) error { |
| 133 | payload := setPayload{ |
| 134 | Value: value, |
| 135 | Visibility: visibility, |
| 136 | Repositories: repositoryIDs, |
| 137 | } |
| 138 | path := fmt.Sprintf(`orgs/%s/actions/variables/%s`, orgName, variableName) |
| 139 | return patchVariable(client, host, path, payload) |
| 140 | } |
| 141 | |
| 142 | func patchEnvVariable(client *api.Client, host string, repoID int64, envName, variableName, value string) error { |
| 143 | payload := setPayload{ |
no test coverage detected