From 0ca8a1d9d5726be74ba0985e69c711af6b4a89b2 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:40:57 -0800 Subject: [PATCH] Set WorkingDirectory so the dotnet tools install works on non-windows (#5144) Co-authored-by: James Suplizio --- eng/common/pipelines/codeowners-linter.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/common/pipelines/codeowners-linter.yml b/eng/common/pipelines/codeowners-linter.yml index 49ffa38f2..a95ec34c3 100644 --- a/eng/common/pipelines/codeowners-linter.yml +++ b/eng/common/pipelines/codeowners-linter.yml @@ -20,6 +20,7 @@ stages: - stage: Run variables: skipComponentGovernanceDetection: true + nugetMultiFeedWarnLevel: 'none' jobs: - job: Run @@ -42,6 +43,8 @@ stages: command: custom custom: 'tool' arguments: 'install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"' + workingDirectory: '$(Build.SourcesDirectory)/eng/common' - pwsh: | codeowners-linter --repoRoot $(Build.SourcesDirectory) --repoName $(Build.Repository.Name) -fbl -rUri "$(RepoLabelUri)" -tUri "$(TeamUserUri)" -uUri "$(UserOrgUri)" displayName: 'Lint CODEOWNERS and filter using baseline' + workingDirectory: '$(Build.SourcesDirectory)/eng/common'