GitLabApiClient
GitLabApiClient copied to clipboard
Updating Project Variable doesnt work
When trying to update a variable that exists multiple times an error is returned:
GitLabApiClient.GitLabException: '{"message":"There are multiple variables with provided parameters. Please use 'filter[environment_scope]'"}'. This issue occurs even when the environmentScope is set like:
await gitlabClient.Projects.UpdateVariableAsync(project.Id, new() { Key = rotation.AccessKeyIdVariableName, EnvironmentScope = rotation.Environment, Value = newKey.AccessKey.AccessKeyId });