diff --git a/eng/azure-pipelines.yml b/eng/azure-pipelines.yml index 6a01b38581cd..6e7f7126b6d0 100644 --- a/eng/azure-pipelines.yml +++ b/eng/azure-pipelines.yml @@ -13,6 +13,13 @@ variables: # prevent UsePythonVersion@0 from accessing pypi.org - name: PIP_INDEX_URL value: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-pypi/pypi/simple/ +- ${{ if and(eq(variables['System.TeamProject'], 'internal'), eq(variables['Build.Repository.Name'], 'dotnet-node')) }}: + - name: Codeql.ADO.Build.Repository.Provider + value: GitHub + - name: Codeql.ADO.Build.Repository.Uri + value: https://github.com/dotnet/node + - name: Codeql.ADO.Build.SourceBranchName + value: $[replace(variables['Build.SourceBranch'], 'refs/heads/', '')] resources: repositories: