content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
trigger:\n branches:\n include:\n - main\n - main-vs-deps\n - release/dev16.*-vs-deps\n - release/dev17.*\n - release/dev18.*\n - features/lsp_tools_host\n - features/runtime-async\n exclude:\n - release/dev17.0\npr: none\n\nresources:\n repositories:\n - repository: 1ESPipelineTemplates\n type: git\n name: 1ESPipelineTemplates/1ESPipelineTemplates\n ref: refs/tags/release\n pipelines:\n - pipeline: profilingInputs\n source: dotnet-vscode-csharp-profiling\n branch: main\n trigger: none\n\nparameters:\n- name: IbcDrop\n type: string\n default: default\n\n- name: SignType\n default: real\n type: string\n values:\n - real\n - test\n\n- name: SkipApplyOptimizationData\n type: boolean\n default: false\n\n- name: SkipTests\n type: boolean\n default: true\n\n# An optional VS commit SHA that will be automatically cherry-picked\n# to the insertion PR created by this build.\n- name: VisualStudioCherryPickSHA\n type: string\n default: '(default)'\n\nschedules:\n - cron: "0 8 23-29 * 0"\n displayName: "Monthly smoke test"\n branches:\n include: \n - main\n - release/*\n exclude: \n - ""\n always: true # Run even if there have been no source code changes since the last successful scheduled run\n batch: false # Do not run the pipeline if the previously scheduled run is in-progress\n\nvariables:\n - group: DotNet-Roslyn-SDLValidation-Params\n - name: Codeql.Enabled\n value: true\n\n # To retrieve OptProf data we need to authenticate to the VS drop storage.\n # Get access token with $dn-bot-devdiv-drop-rw-code-rw and dn-bot-dnceng-build-rw-code-rw from DotNet-VSTS-Infra-Access\n # Get $AccessToken-dotnet-build-bot-public-repo from DotNet-Versions-Publish\n - group: DotNet-Versions-Publish\n - group: DotNet-VSTS-Infra-Access\n - group: DotNet-DevDiv-Insertion-Workflow-Variables\n - group: AzureDevOps-Artifact-Feeds-Pats\n - name: _DevDivDropAccessToken\n value: $(dn-bot-devdiv-drop-rw-code-rw)\n - name: ArtifactServices.Drop.PAT\n value: $(dn-bot-devdiv-drop-rw-code-rw)\n - group: DotNet-Roslyn-Insertion-Variables\n - group: AzureDevOps-Artifact-Feeds-Pats\n\n - name: BuildConfiguration\n value: release\n - name: Roslyn.GitHubEmail\n value: dotnet-build-bot@microsoft.com\n - name: Roslyn.GitHubToken\n value: $(AccessToken-dotnet-build-bot-public-repo)\n - name: Roslyn.GitHubUserName\n value: dotnet-build-bot\n\n - name: Insertion.InsertToolset\n value: true\n - name: Insertion.CreateDraftPR\n value: true\n - name: Insertion.TitlePrefix\n value: '[Auto Insertion]'\n - name: Insertion.TitleSuffix\n value: ''\n\n - ${{ if and(notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:\n - name: enableSourceIndex\n value: true\n - name: VSCodeOptimizationDataRoot\n value: $(Pipeline.Workspace)/profilingInputs/merged mibc\n\n\nextends:\n template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates\n parameters:\n featureFlags:\n autoBaseline: true\n sdl:\n sourceAnalysisPool:\n name: NetCore1ESPool-Svc-Internal\n image: 1es-windows-2022\n os: windows\n sbom:\n enabled: false\n suppression:\n suppressionFile: $(Build.SourcesDirectory)\eng\config\guardian\.gdnsuppres\n policheck:\n enabled: true\n tsa:\n enabled: true\n configFile: '$(Build.SourcesDirectory)/eng/TSAConfig.gdntsa'\n pool:\n name: NetCore1ESPool-Svc-Internal\n image: windows.vs2022preview.amd64\n os: windows\n customBuildTags:\n - ES365AIMigrationTooling\n stages:\n\n - stage: build\n displayName: Build and Test\n\n jobs:\n - ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/release/dev17.13') }}:\n - template: /eng/common/templates-official/job/onelocbuild.yml@self\n parameters:\n MirrorRepo: roslyn\n MirrorBranch: release/dev17.13\n LclSource: lclFilesfromPackage\n LclPackageId: 'LCL-JUNO-PROD-ROSLYN'\n\n - template: /eng/common/templates-official/jobs/source-build.yml@self\n\n - job: OfficialBuild\n displayName: Official Build\n timeoutInMinutes: 360\n templateContext:\n outputs:\n\n # Publish OptProf generated JSON files as a pipeline artifact. This allows for easy inspection from\n # a build execution.\n - output: pipelineArtifact\n displayName: 'Publish OptProf Data Files'\n condition: succeeded()\n targetPath: '$(Build.SourcesDirectory)\artifacts\OptProf\$(BuildConfiguration)\Data'\n artifactName: 'OptProf Data Files'\n\n - output: pipelineArtifact\n displayName: 'Publish Logs'\n condition: succeededOrFailed()\n targetPath: '$(Build.SourcesDirectory)\artifacts\log\$(BuildConfiguration)'\n artifactName: 'Build Diagnostic Files'\n publishLocation: Container\n\n - output: pipelineArtifact\n displayName: 'Publish Ngen Logs'\n condition: and(succeeded(), ${{ not(parameters.SkipApplyOptimizationData) }})\n targetPath: '$(Build.SourcesDirectory)\artifacts\log\$(BuildConfiguration)\ngen'\n artifactName: 'NGen Logs'\n publishLocation: Container\n\n # Publishes setup VSIXes to a drop.\n # Note: The insertion tool looks for the display name of this task in the logs.\n - output: microBuildVstsDrop\n displayName: Upload VSTS Drop\n condition: succeeded()\n dropFolder: 'artifacts\VSSetup\$(BuildConfiguration)\Insertion'\n dropName: $(VisualStudio.DropName)\n accessToken: $(_DevDivDropAccessToken)\n dropRetentionDays: 90\n\n # Publish insertion packages to CoreXT store.\n - output: nuget\n displayName: 'Publish CoreXT Packages'\n condition: succeeded()\n packageParentPath: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\DevDivPackages'\n packagesToPush: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\DevDivPackages\**\*.nupkg'\n allowPackageConflicts: true\n nuGetFeedType: external\n publishFeedCredentials: 'DevDiv - VS package feed'\n\n # Publish an artifact that the RoslynInsertionTool is able to find by its name.\n - output: pipelineArtifact\n displayName: 'Publish Artifact VSSetup'\n condition: succeeded()\n targetPath: 'artifacts\VSSetup\$(BuildConfiguration)'\n artifactName: 'VSSetup'\n\n # Publish our NuPkgs as an artifact. The name of this artifact must be PackageArtifacts as the\n # arcade templates depend on the name.\n - output: buildArtifacts\n displayName: 'Publish Artifact Packages'\n condition: succeeded()\n PathtoPublish: 'artifacts\packages\$(BuildConfiguration)'\n ArtifactName: 'PackageArtifacts'\n\n # Publish Asset Manifests for Build Asset Registry job\n - output: buildArtifacts\n displayName: 'Publish Asset Manifests'\n condition: succeeded()\n PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/$(BuildConfiguration)/AssetManifest'\n ArtifactName: AssetManifests\n\n steps:\n - pwsh: Set-MpPreference -DisableRealtimeMonitoring $true\n displayName: Disable Real-time Monitoring\n \n - powershell: Write-Host "##vso[task.setvariable variable=SourceBranchName]$('$(Build.SourceBranch)'.Substring('refs/heads/'.Length))"\n displayName: Setting SourceBranchName variable\n condition: succeeded()\n\n - task: Powershell@2\n displayName: Tag official build\n inputs:\n targetType: inline\n script: |\n Write-Host "##vso[build.addBuildTag]OfficialBuild"\n condition: succeeded()\n\n # Don't run this while we don't have a main-vs-deps to merge. Should be uncommented when the branch comes back. Also need to change the condition of the tagging task above.\n #\n # - task: Powershell@2\n # displayName: Tag main validation build\n # inputs:\n # targetType: inline\n # script: |\n # Write-Host "##vso[build.addBuildTag]MainValidationBuild"\n # condition: and(succeeded(), eq(variables['SourceBranchName'], 'main'))\n\n # Don't run this while we don't have a main-vs-deps to merge. Should be uncommented when the branch comes back.\n #\n # - task: PowerShell@2\n # displayName: Merge main-vs-deps into source branch\n # inputs:\n # filePath: 'scripts\merge-vs-deps.ps1'\n # arguments: '-accessToken $(dn-bot-dnceng-build-rw-code-rw)'\n # condition: and(succeeded(), eq(variables['SourceBranchName'], 'main'))\n\n - powershell: Write-Host "##vso[task.setvariable variable=VisualStudio.DropName]Products/$(System.TeamProject)/$(Build.Repository.Name)/$(SourceBranchName)/$(Build.BuildNumber)"\n displayName: Setting VisualStudio.DropName variable\n\n - task: NodeTool@0\n inputs:\n versionSpec: '16.x'\n displayName: 'Install Node.js'\n\n - task: NuGetToolInstaller@0\n inputs:\n versionSpec: '4.9.2'\n\n # Authenticate with service connections to be able to publish packages to external nuget feeds.\n - task: NuGetAuthenticate@1\n inputs:\n nuGetServiceConnections: azure-public/vs-impl, azure-public/vssdk, devdiv/engineering, devdiv/dotnet-core-internal-tooling\n\n # Needed for SBOM tool\n - task: UseDotNet@2\n displayName: 'Use .NET Core 3.1 runtime'\n inputs:\n packageType: runtime\n version: 3.1.28\n installationPath: '$(Build.SourcesDirectory)\.dotnet'\n\n # Needed because the build fails the NuGet Tools restore without it\n - task: UseDotNet@2\n displayName: 'Use .NET Core sdk'\n inputs:\n packageType: sdk\n useGlobalJson: true\n workingDirectory: '$(Build.SourcesDirectory)'\n\n - task: MicroBuildSigningPlugin@4\n inputs:\n signType: $(SignType)\n zipSources: false\n feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json\n condition: and(succeeded(), in(variables['SignType'], 'test', 'real'))\n\n - download: profilingInputs\n artifact: merged mibc\n displayName: Download VSCode optimization inputs\n\n - task: PowerShell@2\n displayName: Build\n inputs:\n filePath: eng/build.ps1\n arguments: -ci\n -prepareMachine\n -restore\n -build\n -pack\n -sign\n -publish\n -binaryLog\n -configuration $(BuildConfiguration)\n -officialBuildId $(Build.BuildNumber)\n -officialSkipTests $(SkipTests)\n -officialSkipApplyOptimizationData ${{ parameters.SkipApplyOptimizationData }}\n -officialSourceBranchName $(SourceBranchName)\n -officialIbcDrop $(IbcDrop)\n -officialVisualStudioDropAccessToken $(_DevDivDropAccessToken)\n /p:RepositoryName=$(Build.Repository.Name)\n /p:VisualStudioDropName=$(VisualStudio.DropName)\n /p:VSCodeOptimizationDataRoot="$(VSCodeOptimizationDataRoot)"\n /p:DotNetSignType=$(SignType)\n /p:DotnetPublishUsingPipelines=true\n /p:IgnoreIbcMergeErrors=true\n /p:GenerateSbom=true\n condition: succeeded()\n\n - template: /eng/common/templates-official/steps/generate-sbom.yml@self\n\n - task: PowerShell@2\n displayName: Publish Assets\n inputs:\n filePath: 'eng\publish-assets.ps1'\n arguments: '-configuration $(BuildConfiguration) -branchName "$(SourceBranchName)"'\n condition: succeeded()\n\n # Publish OptProf configuration files to the artifact service\n # This uses the ArtifactServices.Drop.PAT build variable which is required to enable cross account access using PAT (dnceng -> devdiv)\n - task: 1ES.PublishArtifactsDrop@1\n inputs:\n dropServiceURI: 'https://devdiv.artifacts.visualstudio.com'\n buildNumber: 'ProfilingInputs/$(System.TeamProject)/$(Build.Repository.Name)/$(SourceBranchName)/$(Build.BuildNumber)'\n sourcePath: '$(Build.SourcesDirectory)\artifacts\OptProf\$(BuildConfiguration)\Data'\n toLowerCase: false\n usePat: false\n retentionDays: 90\n displayName: 'OptProf - Publish to Artifact Services - ProfilingInputs'\n condition: succeeded()\n\n - task: PublishTestResults@2\n displayName: Publish xUnit Test Results\n inputs:\n testRunner: XUnit\n testResultsFiles: '$(Build.SourcesDirectory)\artifacts\TestResults\$(BuildConfiguration)\*.xml'\n mergeTestResults: true\n testRunTitle: 'Unit Tests'\n condition: and(succeededOrFailed(), ne(variables['SkipTests'], 'true'))\n\n # Publish to Build Asset Registry\n - template: /eng/common/templates-official/job/publish-build-assets.yml@self\n parameters:\n publishUsingPipelines: true\n dependsOn:\n - OfficialBuild\n pool:\n name: NetCore1ESPool-Svc-Internal\n demands: ImageOverride -equals windows.vs2022.amd64\n\n - ${{ if eq(variables.enableSourceIndex, 'true') }}:\n - template: /eng/common/templates-official/job/source-index-stage1.yml@self\n parameters:\n sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng\build.ps1 -configuration Release -prepareMachine -ci -restore -build -binaryLogName Build.binlog -skipDocumentation -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false /p:PublishReadyToRun=false"\n binlogPath: artifacts/log/$(BuildConfiguration)/Build.binlog\n pool:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals 1es-windows-2022\n\n - stage: insert\n dependsOn:\n - publish_using_darc\n displayName: Insert to VS\n\n jobs:\n - job: insert\n displayName: Insert to VS\n steps:\n - download: current\n artifact: VSSetup\n - powershell: |\n $branchName = "$(Build.SourceBranch)".Substring("refs/heads/".Length)\n Write-Host "##vso[task.setvariable variable=ComponentBranchName]$branchName"\n displayName: Get Branch Name\n - template: /eng/pipelines/insert.yml@self\n parameters:\n buildUserName: "dn-bot@microsoft.com"\n buildPassword: $(dn-bot-devdiv-build-e-code-full-release-e-packaging-r)\n componentUserName: "dn-bot@microsoft.com"\n componentPassword: $(dn-bot-dnceng-build-e-code-full-release-e-packaging-r)\n componentBuildProjectName: internal\n sourceBranch: "$(ComponentBranchName)"\n publishDataURI: "https://dev.azure.com/dnceng/internal/_apis/git/repositories/dotnet-roslyn/items?path=eng/config/PublishData.json&api-version=6.0"\n publishDataAccessToken: "$(System.AccessToken)"\n dropPath: '$(Pipeline.Workspace)\VSSetup'\n cherryPick: ${{ parameters.VisualStudioCherryPickSHA }}\n\n - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - template: /eng/common/templates-official/post-build/post-build.yml@self\n parameters:\n publishingInfraVersion: 3\n # Symbol validation is not entirely reliable as of yet, so should be turned off until\n # https://github.com/dotnet/arcade/issues/2871 is resolved.\n enableSymbolValidation: false\n enableSourceLinkValidation: false\n # Enable SDL validation, passing through values from the 'DotNet-Roslyn-SDLValidation-Params' group.\n SDLValidationParameters:\n enable: true\n params: >-\n -SourceToolsList @("policheck","credscan")\n -ArtifactToolsList @("binskim")\n -BinskimAdditionalRunConfigParams @("IgnorePdbLoadError < True","Recurse < True","SymbolsPath < SRV*https://msdl.microsoft.com/download/symbols")\n -TsaInstanceURL $(_TsaInstanceURL)\n -TsaProjectName $(_TsaProjectName)\n -TsaNotificationEmail $(_TsaNotificationEmail)\n -TsaCodebaseAdmin $(_TsaCodebaseAdmin)\n -TsaBugAreaPath $(_TsaBugAreaPath)\n -TsaIterationPath $(_TsaIterationPath)\n -TsaRepositoryName $(_TsaRepositoryName)\n -TsaCodebaseName $(_TsaCodebaseName)\n -TsaPublish $True\n | dataset_sample\yaml\dotnet_roslyn\azure-pipelines-official.yml | azure-pipelines-official.yml | YAML | 17,195 | 0.95 | 0.028037 | 0.105541 | python-kit | 253 | 2024-12-13T07:52:43.748132 | GPL-3.0 | false | 7d5b71bc068baf0cda071463bb70443c |
trigger: none\npr: none\n\nresources:\n repositories:\n - repository: 1ESPipelineTemplates\n type: git\n name: 1ESPipelineTemplates/1ESPipelineTemplates\n ref: refs/tags/release\n\nparameters:\n- name: PRNumber\n type: number\n- name: CommitSHA\n type: string\n- name: EnforceLatestCommit\n type: boolean\n default: true\n- name: VisualStudioBranchName\n type: string\n default: default\n- name: OptionalTitlePrefix\n type: string\n default: '[PR Validation]'\n- name: VisualStudioCherryPickSHA\n type: string\n default: '(default)'\n- name: InsertToolset\n type: boolean\n default: true\n- name: SkipApplyOptimizationData\n type: boolean\n default: false\n\nvariables:\n - group: DotNet-Roslyn-SDLValidation-Params\n - group: DotNet-Roslyn-Insertion-Variables\n - name: Codeql.Enabled\n value: false\n - name: Codeql.SkipTaskAutoInjection\n value: true\n\n # To retrieve OptProf data we need to authenticate to the VS drop storage.\n # If the pipeline is running in DevDiv, the account has access to the VS drop storage.\n # Get $AccessToken-dotnet-build-bot-public-repo from DotNet-GitHub-Versions-Repo-Write\n - group: DotNet-GitHub-Versions-Repo-Write\n - name: _DevDivDropAccessToken\n value: $(System.AccessToken)\n\nextends:\n template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates\n parameters:\n sdl:\n enableAllTools: false\n pool:\n name: VSEngSS-MicroBuild2022-1ES\n demands:\n - msbuild\n - visualstudio\n - DotNetFramework\n customBuildTags:\n - ES365AIMigrationTooling\n stages:\n\n - stage: build\n displayName: Build and Test\n\n jobs:\n - job: PRValidationBuild\n displayName: PR Validation Build\n timeoutInMinutes: 360\n templateContext:\n outputs:\n\n # Publish OptProf configuration files to the artifact service\n - output: artifactsDrop\n displayName: 'OptProf - Publish to Artifact Services - ProfilingInputs'\n condition: succeeded()\n dropServiceURI: 'https://devdiv.artifacts.visualstudio.com'\n buildNumber: 'ProfilingInputs/$(System.TeamProject)/$(Build.Repository.Name)/$(SourceBranchName)/$(OriginalBuildNumber)'\n sourcePath: '$(Build.SourcesDirectory)\artifacts\OptProf\$(BuildConfiguration)\Data'\n toLowerCase: false\n usePat: true\n accessToken: $(_DevDivDropAccessToken)\n retentionDays: 90\n\n # Publish OptProf generated JSON files as a pipeline artifact. This allows for easy inspection from\n # a build execution.\n - output: pipelineArtifact\n displayName: 'Publish OptProf Data Files'\n condition: succeeded()\n targetPath: '$(Build.SourcesDirectory)\artifacts\OptProf\$(BuildConfiguration)\Data'\n artifactName: 'OptProf Data Files'\n\n - output: pipelineArtifact\n displayName: 'Publish Logs'\n condition: succeededOrFailed()\n targetPath: '$(Build.SourcesDirectory)\artifacts\log\$(BuildConfiguration)'\n artifactName: 'Build Diagnostic Files'\n publishLocation: Container\n\n - output: pipelineArtifact\n displayName: 'Publish Ngen Logs'\n condition: and(succeeded(), ${{ not(parameters.SkipApplyOptimizationData) }})\n targetPath: '$(Build.SourcesDirectory)\artifacts\log\$(BuildConfiguration)\ngen'\n artifactName: 'NGen Logs'\n publishLocation: Container\n\n # Publishes setup VSIXes to a drop.\n # Note: The insertion tool looks for the display name of this task in the logs.\n - output: microBuildVstsDrop\n displayName: Upload VSTS Drop\n condition: succeeded()\n dropFolder: 'artifacts\VSSetup\$(BuildConfiguration)\Insertion'\n dropName: $(VisualStudio.DropName)\n accessToken: $(_DevDivDropAccessToken)\n dropRetentionDays: 90\n\n # Publish insertion packages to CoreXT store.\n - output: nuget\n displayName: 'Publish CoreXT Packages'\n condition: succeeded()\n packageParentPath: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\DevDivPackages'\n packagesToPush: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\DevDivPackages\**\*.nupkg'\n allowPackageConflicts: true\n nuGetFeedType: internal\n publishVstsFeed: '97a41293-2972-4f48-8c0e-05493ae82010'\n\n # Publish an artifact that the RoslynInsertionTool is able to find by its name.\n - output: pipelineArtifact\n displayName: 'Publish Artifact VSSetup'\n condition: succeeded()\n targetPath: 'artifacts\VSSetup\$(BuildConfiguration)'\n artifactName: 'VSSetup'\n\n # Publish our NuPkgs as an artifact. The name of this artifact must be PackageArtifacts as the\n # arcade templates depend on the name.\n - output: buildArtifacts\n displayName: 'Publish Artifact Packages'\n condition: succeeded()\n PathtoPublish: 'artifacts\packages\$(BuildConfiguration)'\n ArtifactName: 'PackageArtifacts'\n\n # Publish Asset Manifests for Build Asset Registry job\n - output: buildArtifacts\n displayName: 'Publish Asset Manifests'\n condition: succeeded()\n PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/$(BuildConfiguration)/AssetManifest'\n ArtifactName: AssetManifests\n\n steps:\n - pwsh: Set-MpPreference -DisableRealtimeMonitoring $true\n displayName: Disable Real-time Monitoring\n \n - task: Powershell@2\n displayName: Setting OriginalBuildNumber variable\n condition: succeeded()\n inputs:\n targetType: inline\n script: |\n $originalBuildNumber = "$(Build.BuildNumber)".Split(' - ')[0]\n Write-Host "##vso[task.setvariable variable=OriginalBuildNumber;isreadonly=true]$originalBuildNumber"\n\n - powershell: Write-Host "##vso[task.setvariable variable=SourceBranchName;isreadonly=true]$('$(Build.SourceBranch)'.Substring('refs/heads/'.Length))"\n displayName: Setting SourceBranchName variable\n condition: succeeded()\n\n - task: Powershell@2\n name: FancyBuild\n displayName: Setting FancyBuild.BuildNumber\n inputs:\n targetType: inline\n script: |\n $pull_request = Invoke-RestMethod -Uri "https://api.github.com/repos/dotnet/roslyn/pulls/${{ parameters.PRNumber }}" `\n -Headers @{\n "Accept" = "application/vnd.github+json";\n "X-GitHub-Api-Version" = "2022-11-28"\n }\n $buildNumberName = "$(OriginalBuildNumber) - $($pull_request.user.login) - '$($pull_request.title)'"\n $buildNumberName = $buildNumberName -replace '["/:<>\|?@*]','_'\n # Maximum buildnumber length is 255 chars and we are going to append to the end to ensure we have space.\n if ($buildNumberName.Length -GT 253) {\n $buildNumberName = $buildNumberName.Substring(0, 253)\n }\n # Avoid ever ending the BuildNumber with a `.` by always appending to it.\n $buildNumberName += ' #'\n Write-Host "##vso[task.setvariable variable=BuildNumber;isoutput=true;isreadonly=true]$buildNumberName"\n Write-Host "##vso[build.updatebuildnumber]$buildNumberName"\n\n - task: Powershell@2\n displayName: Tag PR validation build\n inputs:\n targetType: inline\n script: |\n Write-Host "##vso[build.addBuildTag]OfficialBuild"\n Write-Host "##vso[build.addBuildTag]${{ parameters.CommitSHA }}"\n Write-Host "##vso[build.addBuildTag]PRNumber${{ parameters.PRNumber }}"\n condition: succeeded()\n\n - task: PowerShell@2\n displayName: Setup branch for insertion validation\n inputs:\n filePath: 'eng\setup-pr-validation.ps1'\n arguments: "-sourceBranchName $(SourceBranchName) -prNumber ${{ parameters.PRNumber }} -commitSHA ${{ parameters.CommitSHA }} -enforceLatestCommit ${{ iif(parameters.EnforceLatestCommit, '1', '0') }}"\n condition: succeeded()\n\n - powershell: Write-Host "##vso[task.setvariable variable=VisualStudio.DropName]Products/$(System.TeamProject)/$(Build.Repository.Name)/$(SourceBranchName)/$(OriginalBuildNumber)"\n displayName: Setting VisualStudio.DropName variable\n\n - task: NuGetToolInstaller@0\n inputs:\n versionSpec: '4.9.2'\n\n # Authenticate with service connections to be able to publish packages to external nuget feeds.\n - task: NuGetAuthenticate@1\n inputs:\n nuGetServiceConnections: azure-public/vs-impl, azure-public/vssdk\n\n # Needed because the build fails the NuGet Tools restore without it\n - task: UseDotNet@2\n displayName: 'Use .NET Core sdk'\n inputs:\n packageType: sdk\n useGlobalJson: true\n workingDirectory: '$(Build.SourcesDirectory)'\n\n - task: MicroBuildSigningPlugin@4\n inputs:\n signType: $(SignType)\n zipSources: false\n condition: and(succeeded(), in(variables['SignType'], 'test', 'real'))\n\n - task: PowerShell@2\n displayName: Build\n inputs:\n filePath: eng/build.ps1\n arguments: -ci\n -prepareMachine\n -restore\n -build\n -pack\n -sign\n -publish\n -binaryLog\n -configuration $(BuildConfiguration)\n -officialBuildId $(OriginalBuildNumber)\n -officialSkipTests $(SkipTests)\n -officialSkipApplyOptimizationData ${{ parameters.SkipApplyOptimizationData }}\n -officialSourceBranchName $(SourceBranchName)\n -officialIbcDrop $(IbcDrop)\n -officialVisualStudioDropAccessToken $(_DevDivDropAccessToken)\n /p:RepositoryName=$(Build.Repository.Name)\n /p:VisualStudioDropName=$(VisualStudio.DropName)\n /p:DotNetSignType=$(SignType)\n /p:DotnetPublishUsingPipelines=true\n /p:IgnoreIbcMergeErrors=true\n /p:GenerateSbom=true\n /p:PreReleaseVersionLabel=pr-validation\n condition: succeeded()\n\n - template: /eng/common/templates-official/steps/generate-sbom.yml@self\n\n - task: PowerShell@2\n displayName: Publish Assets\n inputs:\n filePath: 'eng\publish-assets.ps1'\n arguments: '-configuration $(BuildConfiguration) -branchName "$(SourceBranchName)" -prValidation'\n condition: succeeded()\n\n - task: PublishTestResults@2\n displayName: Publish xUnit Test Results\n inputs:\n testRunner: XUnit\n testResultsFiles: '$(Build.SourcesDirectory)\artifacts\TestResults\$(BuildConfiguration)\*.xml'\n mergeTestResults: true\n testRunTitle: 'Unit Tests'\n condition: and(succeededOrFailed(), ne(variables['SkipTests'], 'true'))\n\n # We need to reset the BuildNumber before we pass off to Arcade\n - powershell: Write-Host "##vso[build.updatebuildnumber]$(OriginalBuildNumber)"\n displayName: Reset BuildNumber\n condition: succeeded()\n\n # Publish to Build Asset Registry\n - template: /eng/common/templates-official/job/publish-build-assets.yml@self\n parameters:\n publishUsingPipelines: true\n dependsOn:\n - PRValidationBuild\n pool:\n name: VSEngSS-MicroBuild2022-1ES\n\n - stage: insert\n dependsOn:\n - build\n - publish_using_darc\n displayName: Insert to VS\n\n jobs:\n - job: insert\n variables:\n FancyBuildNumber: $[stageDependencies.build.PRValidationBuild.outputs['FancyBuild.BuildNumber']]\n displayName: Insert to VS\n pool:\n name: VSEngSS-MicroBuild2022-1ES\n steps:\n - download: current\n artifact: VSSetup\n - powershell: |\n $branchName = "$(Build.SourceBranch)".Substring("refs/heads/".Length)\n Write-Host "##vso[task.setvariable variable=ComponentBranchName]$branchName"\n displayName: Get Branch Name\n - template: /eng/pipelines/insert.yml@self\n parameters:\n createDraftPR: true\n autoComplete: false\n insertToolset: ${{ parameters.InsertToolset }}\n buildUserName: "dn-bot@microsoft.com"\n buildPassword: $(dn-bot-devdiv-build-e-code-full-release-e-packaging-r)\n componentUserName: "dn-bot@microsoft.com"\n componentPassword: $(dn-bot-dnceng-build-e-code-full-release-e-packaging-r)\n vsBranchName: ${{ parameters.VisualStudioBranchName }}\n titlePrefix: ${{ parameters.OptionalTitlePrefix }}\n sourceBranch: $(ComponentBranchName)\n publishDataURI: "https://raw.githubusercontent.com/dotnet/roslyn/main/eng/config/PublishData.json"\n queueSpeedometerValidation: true\n dropPath: '$(Pipeline.Workspace)\VSSetup'\n retainInsertedBuild: false\n cherryPick: ${{ parameters.VisualStudioCherryPickSHA }}\n # Arcade is done so we can set BuildNumber back\n - powershell: Write-Host "##vso[build.updatebuildnumber]$(FancyBuildNumber)"\n displayName: Reset BuildNumber\n condition: succeeded()\n\n # Use post-build to publish symbol packages.\n - template: /eng/common/templates-official/post-build/post-build.yml@self\n parameters:\n publishingInfraVersion: 3\n # Symbol validation is not entirely reliable as of yet, so should be turned off until\n # https://github.com/dotnet/arcade/issues/2871 is resolved.\n enableSymbolValidation: false\n enableSigningValidation: false\n enableSourceLinkValidation: false\n SDLValidationParameters: false\n | dataset_sample\yaml\dotnet_roslyn\azure-pipelines-pr-validation.yml | azure-pipelines-pr-validation.yml | YAML | 14,355 | 0.8 | 0.014535 | 0.074675 | node-utils | 495 | 2023-10-09T18:23:37.834063 | MIT | false | 6eef7eecc5ba59ed339f4ca5abe2560e |
# Branches that trigger a build on commit\ntrigger:\n- main\n- main-vs-deps\n- release/*\n- features/*\n- demos/*\n\n# Branches that trigger builds on PR\npr:\n branches:\n include:\n - main\n - main-vs-deps\n - release/*\n - features/*\n - demos/*\n paths:\n exclude:\n - docs/*\n - eng/config/OptProf.json\n - eng/config/PublishData.json\n - eng/setup-pr-validation.ps1\n - src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/README.md\n - .vscode/*\n - .github/*\n - .devcontainer/*\n - .git-blame-ignore-revs\n - .vsconfig\n - azure-pipelines-compliance.yml\n - azure-pipelines-integration-dartlab.yml\n - azure-pipelines-integration-scouting.yml\n - azure-pipelines-official.yml\n - azure-pipelines-pr-validation.yml\n - CODE-OF-CONDUCT.md\n - CONTRIBUTING.md\n - README.md\n\nvariables:\n # This value is conditionally overriden by the variable group DotNet-HelixApi-Access.\n # ADO only lets us conditionally include a variable group on individual stages.\n - name: HelixApiAccessToken\n value: ''\n\n - name: Codeql.Enabled\n value: false\n - name: Codeql.SkipTaskAutoInjection\n value: true\n\n # Set pool / queue name variables depending on which instance we're running in.\n - name: PoolName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: NetCore-Public\n ${{ else }}:\n value: NetCore1ESPool-Internal\n\n - name: Vs2022PreviewQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: windows.vs2022preview.amd64.open\n ${{ else }}:\n value: windows.vs2022preview.amd64\n\n - name: Vs2022RegularQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: windows.vs2022.amd64.open\n ${{ else }}:\n value: windows.vs2022.amd64\n\n - name: UbuntuQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: Build.Ubuntu.2204.Amd64.Open\n ${{ else }}:\n value: Build.Ubuntu.2204.Amd64\n\n - name: WindowsQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: 1es-windows-2022-open\n ${{ else }}:\n value: 1es-windows-2022\n\n - name: HelixWindowsQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: Windows.10.Amd64.Open\n ${{ else }}:\n value: Windows.10.Amd64\n\n - name: HelixWindowsSpanishQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: Windows.10.Amd64.Server2022.ES.Open\n ${{ else }}:\n value: Windows.10.Amd64.Server2022.ES\n\n - name: HelixUbuntuQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: Ubuntu.2204.Amd64.Open\n ${{ else }}:\n value: Ubuntu.2204.Amd64\n\n - name: HelixMacOsQueueName\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n value: OSX.15.Amd64.Open\n ${{ else }}:\n value: OSX.15.Amd64\n\nparameters:\n # These pools allow us to configure the pools once for multiple jobs.\n # We have to use parameters here as these are object typed.\n - name: ubuntuPool\n type: object\n default:\n name: $(PoolName)\n demands: ImageOverride -equals $(UbuntuQueueName)\n - name: windowsPool\n type: object\n default:\n name: $(PoolName)\n demands: ImageOverride -equals $(WindowsQueueName)\n - name: vs2022PreviewPool\n type: object\n default:\n name: $(PoolName)\n demands: ImageOverride -equals $(Vs2022PreviewQueueName)\n - name: vs2022RegularPool\n type: object\n default:\n name: $(PoolName)\n demands: ImageOverride -equals $(Vs2022RegularQueueName)\n\nstages:\n- stage: Windows_Debug_Build\n dependsOn: []\n jobs:\n - template: eng/pipelines/build-windows-job.yml\n parameters:\n jobName: Build_Windows_Debug\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n poolParameters: ${{ parameters.vs2022PreviewPool }}\n restoreArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false\n buildArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false /p:PublishReadyToRun=false\n\n- stage: Windows_Release_Build\n dependsOn: []\n jobs:\n - template: eng/pipelines/build-windows-job.yml\n parameters:\n jobName: Build_Windows_Release\n testArtifactName: Transport_Artifacts_Windows_Release\n configuration: Release\n poolParameters: ${{ parameters.vs2022PreviewPool }}\n restoreArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false\n buildArguments: -msbuildEngine dotnet /p:UsingToolVSSDK=false /p:GenerateSatelliteAssemblies=false /p:PublishReadyToRun=false\n\n- stage: Unix_Build\n dependsOn: []\n jobs:\n - template: eng/pipelines/build-unix-job.yml\n parameters:\n jobName: Build_Unix_Debug\n testArtifactName: Transport_Artifacts_Unix_Debug\n poolParameters: ${{ parameters.ubuntuPool }}\n\n- stage: Source_Build\n dependsOn: []\n jobs:\n # Like template `eng/common/templates/jobs/source-build.yml`\n - job: Source_Build_Managed\n displayName: Source-Build (Managed)\n container: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')]\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open\n\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64\n workspace:\n clean: all\n steps:\n - template: /eng/common/templates/steps/source-build.yml\n parameters:\n platform:\n name: 'Managed'\n container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'\n\n- stage: Windows_Debug_Desktop\n dependsOn: Windows_Debug_Build\n variables:\n - ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - group: DotNet-HelixApi-Access\n jobs:\n - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows Desktop Debug 32'\n jobName: Test_Windows_Desktop_Debug_32\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n testArguments: -testDesktop -testArch x86\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows Desktop Debug 64'\n jobName: Test_Windows_Desktop_Debug_64\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n testArguments: -testDesktop -testArch x64\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n- stage: Windows_Release_Desktop\n dependsOn: Windows_Release_Build\n variables:\n - ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - group: DotNet-HelixApi-Access\n jobs:\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows Desktop Release 32'\n jobName: Test_Windows_Desktop_Release_32\n testArtifactName: Transport_Artifacts_Windows_Release\n configuration: Release\n testArguments: -testDesktop -testArch x86\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows Desktop Release 64'\n jobName: Test_Windows_Desktop_Release_64\n testArtifactName: Transport_Artifacts_Windows_Release\n configuration: Release\n testArguments: -testDesktop -testArch x64\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows Desktop Spanish Release 64'\n jobName: Test_Windows_Desktop_Spanish_Release_64\n testArtifactName: Transport_Artifacts_Windows_Release\n configuration: Release\n testArguments: -testDesktop -testArch x64\n helixQueueName: $(HelixWindowsSpanishQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n- stage: Windows_Debug_CoreClr\n dependsOn: Windows_Debug_Build\n variables:\n - ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - group: DotNet-HelixApi-Access\n jobs:\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows CoreClr Debug'\n jobName: Test_Windows_CoreClr_Debug\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n testArguments: -testCoreClr\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows CoreClr Debug Spanish'\n jobName: Test_Windows_CoreClr_Debug_Spanish\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n testArguments: -testCoreClr\n helixQueueName: $(HelixWindowsSpanishQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:\n - template: eng/pipelines/test-windows-job-single-machine.yml\n parameters:\n testRunName: 'Test Windows CoreClr Debug Single Machine'\n jobName: Test_Windows_CoreClr_Debug_Single_Machine\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n poolParameters: ${{ parameters.vs2022RegularPool }}\n testArguments: -testCoreClr\n\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows CoreCLR IOperation Debug'\n jobName: Test_Windows_CoreClr_IOperation_Debug\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n testArguments: -testCoreClr -testIOperation -testCompilerOnly\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n # This leg runs almost all the compiler tests supported on CoreCLR, but\n # with additional validation for used assemblies and GetEmitDiagnostics\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows CoreCLR UsedAssemblies Debug'\n jobName: Test_Windows_CoreClr_UsedAssemblies_Debug\n testArtifactName: Transport_Artifacts_Windows_Debug\n configuration: Debug\n testArguments: -testCoreClr -testUsedAssemblies -testCompilerOnly\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n- stage: Windows_Release_CoreClr\n dependsOn: Windows_Release_Build\n variables:\n - ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - group: DotNet-HelixApi-Access\n jobs:\n - template: eng/pipelines/test-windows-job.yml\n parameters:\n testRunName: 'Test Windows CoreClr Release'\n jobName: Test_Windows_CoreClr_Release\n testArtifactName: Transport_Artifacts_Windows_Release\n configuration: Release\n testArguments: -testCoreClr\n helixQueueName: $(HelixWindowsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.windowsPool }}\n\n- stage: Unix_Debug_CoreClr\n dependsOn: Unix_Build\n variables:\n - ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - group: DotNet-HelixApi-Access\n jobs:\n - template: eng/pipelines/test-unix-job.yml\n parameters:\n testRunName: 'Test Linux Debug'\n jobName: Test_Linux_Debug\n testArtifactName: Transport_Artifacts_Unix_Debug\n configuration: Debug\n testArguments: --testCoreClr\n helixQueueName: $(HelixUbuntuQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.ubuntuPool }}\n\n - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:\n - template: eng/pipelines/test-unix-job-single-machine.yml\n parameters:\n testRunName: 'Test Linux Debug Single Machine'\n jobName: Test_Linux_Debug_Single_Machine\n testArtifactName: Transport_Artifacts_Unix_Debug\n configuration: Debug\n testArguments: --testCoreClr\n poolParameters: ${{ parameters.ubuntuPool }}\n\n # https://github.com/dotnet/runtime/issues/97186\n # Disabled until runtime can track down the crash\n - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:\n - template: eng/pipelines/test-unix-job.yml\n parameters:\n testRunName: 'Test macOS Debug'\n jobName: Test_macOS_Debug\n testArtifactName: Transport_Artifacts_Unix_Debug\n configuration: Debug\n testArguments: --testCoreClr \n helixQueueName: $(HelixMacOsQueueName)\n helixApiAccessToken: $(HelixApiAccessToken)\n poolParameters: ${{ parameters.ubuntuPool }}\n\n- stage: Correctness\n dependsOn: []\n jobs:\n - template: eng/pipelines/evaluate-changed-files.yml\n parameters:\n jobName: Determine_Changes\n poolParameters: ${{ parameters.ubuntuPool }}\n paths:\n - subset: compilers\n include:\n - src/Compilers/*\n - src/Dependencies/*\n - src/NuGet/Microsoft.Net.Compilers.Toolset/*\n - eng/*\n - src/Tools/Source/CompilerGeneratorTools/*\n\n - job: Correctness_Build_Artifacts\n dependsOn: Determine_Changes\n pool: ${{ parameters.vs2022PreviewPool }}\n timeoutInMinutes: 90\n variables:\n - template: eng/pipelines/variables-build.yml\n parameters:\n configuration: Release\n - name: compilerChange\n value: $[dependencies.Determine_Changes.outputs['SetPathVars_compilers.containsChange']]\n steps:\n - template: eng/pipelines/checkout-windows-task.yml\n\n - powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -restore -binaryLogName Restore.binlog \n displayName: Restore\n\n - powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -build -pack -publish -sign -binaryLogName Build.binlog /p:DotnetPublishUsingPipelines=true /p:ContinuousIntegrationBuildCorrectness=true\n displayName: Build\n\n # While this task is not executed in the official build, this serves as a PR check for whether symbol exclusions\n # are properly set up.\n - task: PowerShell@2\n displayName: Publish Symbols Dry-Run\n inputs:\n filePath: eng\common\sdk-task.ps1\n arguments: -task PublishToSymbolServers /p:DryRun="true" -restore -msbuildEngine dotnet\n /p:DotNetSymbolServerTokenMsdl=DryRunPTA\n /p:DotNetSymbolServerTokenSymWeb=DryRunPTA\n /p:PDBArtifactsDirectory='$(Build.ArtifactStagingDirectory)/PDBArtifacts/'\n /p:BlobBasePath='$(Build.SourcesDirectory)/artifacts/tmp/Release/SymbolPackages/'\n /p:SymbolPublishingExclusionsFile='$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt'\n /p:Configuration=Release\n /p:PublishToMSDL=false\n\n - script: $(Build.SourcesDirectory)\artifacts\bin\BuildBoss\Release\net472\BuildBoss.exe -r "$(Build.SourcesDirectory)/" -c Release -p Roslyn.sln\n displayName: Validate Build Artifacts\n\n - powershell: eng/validate-rules-missing-documentation.ps1 -ci\n displayName: Validate rules missing documentation\n\n - powershell: eng/generate-compiler-code.ps1 -test -configuration Release\n displayName: Generate Syntax Files\n\n - powershell: eng/validate-code-formatting.ps1 -ci -rootDirectory $(Build.SourcesDirectory)\src -includeDirectories Compilers\CSharp\Portable\Generated\, Compilers\VisualBasic\Portable\Generated\, ExpressionEvaluator\VisualBasic\Source\ResultProvider\Generated\ \n displayName: Validate Generated Syntax Files\n condition: or(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['compilerChange'], 'true'))\n\n - template: eng/pipelines/publish-logs.yml\n parameters:\n jobName: Correctness_Build_Artifacts\n configuration: Release\n\n - job: Correctness_Determinism\n dependsOn: Determine_Changes\n condition: or(ne(variables['Build.Reason'], 'PullRequest'), eq(dependencies.Determine_Changes.outputs['SetPathVars_compilers.containsChange'], 'true'))\n pool: ${{ parameters.vs2022PreviewPool }}\n timeoutInMinutes: 90\n variables:\n - template: eng/pipelines/variables-build.yml\n parameters:\n configuration: Debug\n - name: bootstrapDir\n value: $(Build.SourcesDirectory)/artifacts/bootstrap/determinism\n steps:\n - template: eng/pipelines/checkout-windows-task.yml\n\n - powershell: eng/make-bootstrap.ps1 -output $(bootstrapDir) -ci\n displayName: Build Bootstrap Compiler\n\n - powershell: eng/test-determinism.ps1 -configuration Debug -bootstrapDir $(bootstrapDir) -ci\n displayName: Build - Validate determinism\n\n - template: eng/pipelines/publish-logs.yml\n parameters:\n jobName: Correctness_Determinism\n configuration: Debug\n\n - job: Correctness_Bootstrap_Build_Default\n dependsOn: Determine_Changes\n condition: or(ne(variables['Build.Reason'], 'PullRequest'), eq(dependencies.Determine_Changes.outputs['SetPathVars_compilers.containsChange'], 'true'))\n pool: ${{ parameters.vs2022PreviewPool }}\n timeoutInMinutes: 90\n variables:\n - template: eng/pipelines/variables-build.yml\n parameters:\n configuration: Release\n steps:\n - template: eng/pipelines/build-bootstrap.yml\n parameters:\n toolset: Default\n\n - job: Correctness_Bootstrap_Build_Framework\n dependsOn: Determine_Changes\n condition: ne(variables['Build.Reason'], 'PullRequest')\n pool: ${{ parameters.vs2022PreviewPool }}\n timeoutInMinutes: 90\n variables:\n - template: eng/pipelines/variables-build.yml\n parameters:\n configuration: Release\n steps:\n - template: eng/pipelines/build-bootstrap.yml\n parameters:\n toolset: Framework\n\n - job: Correctness_TodoCheck\n pool: ${{ parameters.ubuntuPool }}\n timeoutInMinutes: 10\n steps:\n - template: eng/pipelines/checkout-unix-task.yml\n\n - powershell: eng/todo-check.ps1\n displayName: Validate TODO/PROTOTYPE comments are not present\n\n - job: Correctness_Rebuild\n dependsOn: Determine_Changes\n condition: or(ne(variables['Build.Reason'], 'PullRequest'), eq(dependencies.Determine_Changes.outputs['SetPathVars_compilers.containsChange'], 'true'))\n pool: ${{ parameters.vs2022PreviewPool }}\n timeoutInMinutes: 90\n variables:\n - template: eng/pipelines/variables-build.yml\n parameters:\n configuration: Release\n steps:\n - template: eng/pipelines/checkout-windows-task.yml\n\n - script: .\eng\test-rebuild.cmd -ci -configuration Release -bootstrap\n displayName: Run BuildValidator\n\n - task: PublishBuildArtifacts@1\n displayName: Publish BuildValidator debug outputs\n inputs:\n PathtoPublish: '$(Build.SourcesDirectory)/artifacts/BuildValidator'\n ArtifactName: 'BuildValidator_DebugOut'\n publishLocation: Container\n continueOnError: true\n condition: failed()\n\n - template: eng/pipelines/publish-logs.yml\n parameters:\n jobName: Correctness_Rebuild\n configuration: Release\n\n - job: Correctness_Analyzers\n pool: ${{ parameters.ubuntuPool }}\n timeoutInMinutes: 35\n variables:\n - template: eng/pipelines/variables-build.yml\n parameters:\n configuration: Debug\n\n steps:\n - template: eng/pipelines/checkout-unix-task.yml\n\n - script: ./eng/build.sh --solution Roslyn.sln --restore --build --configuration Debug --prepareMachine --ci --binaryLog --runanalyzers --warnaserror /p:RoslynEnforceCodeStyle=true\n displayName: Build with analyzers\n\n - template: eng/pipelines/publish-logs.yml\n parameters:\n jobName: Correctness_Analyzers\n configuration: Debug\n | dataset_sample\yaml\dotnet_roslyn\azure-pipelines.yml | azure-pipelines.yml | YAML | 21,040 | 0.8 | 0.045208 | 0.028283 | python-kit | 882 | 2024-04-19T13:42:11.645973 | MIT | false | f52bf668ea9bff525690225574658f26 |
# This file configures CodeQL runs and TSA bug autofiling. For more information, see:\n# https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/troubleshooting/bugs/generated-library-code\n# (Access restricted to Microsoft employees only.)\n\npath_classifiers:\n refs:\n # The ref/ directories don't contain shipping implementations of code, so they should\n # be excluded from analysis. If there is a problem at the API layer, the analysis\n # engine will detect the problem in the src/ implementations anyway.\n - src/libraries/**/ref/*\n # exclude artifacts/obj/**/CMakeFiles/**/CheckFunctionExists.c since CMake \n # generates random directory names causing creation of duplicate issues \n # related to obsolete encryption algorithm used. Note that CheckFuntionExists \n # files are generated as part of build-time checks in CMake and are not compiled\n # or linked into any product binaries.\n - artifacts/obj/**/CMakeFiles/**/CheckFunctionExists.c\n | dataset_sample\yaml\dotnet_runtime\.CodeQL.yml | .CodeQL.yml | YAML | 1,003 | 0.8 | 0 | 0.733333 | vue-tools | 242 | 2025-04-11T19:59:07.651562 | MIT | false | b12f716bb1b6c96f5ded5b489528f7ea |
## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details.\n\npipelines:\n 679:\n retail:\n binary:\n credscan:\n lastModifiedDate: 2024-04-11\n binskim:\n lastModifiedDate: 2024-04-11\n spotbugs:\n lastModifiedDate: 2024-04-11\n source:\n credscan:\n lastModifiedDate: 2024-04-11\n eslint:\n lastModifiedDate: 2024-04-11\n psscriptanalyzer:\n lastModifiedDate: 2024-04-11\n armory:\n lastModifiedDate: 2024-04-11\n | dataset_sample\yaml\dotnet_runtime\.config\1espt\PipelineAutobaseliningConfig.yml | PipelineAutobaseliningConfig.yml | YAML | 621 | 0.8 | 0.047619 | 0.05 | vue-tools | 648 | 2025-01-30T03:45:47.950038 | GPL-3.0 | false | 8a75f2af35381b9d7f4535c34d4bd2f1 |
version: 2\nupdates:\n - package-ecosystem: "github-actions"\n directory: "/"\n schedule:\n interval: daily\n open-pull-requests-limit: 5\n labels:\n - area-codeflow\n ignore:\n - dependency-name: "actions/checkout"\n update-types: ["version-update:semver-patch","version-update:semver-minor"]\n | dataset_sample\yaml\dotnet_runtime\.github\dependabot.yml | dependabot.yml | YAML | 321 | 0.7 | 0 | 0 | awesome-app | 13 | 2025-01-20T17:00:57.973715 | Apache-2.0 | false | 580defcb8f107af1d9e59a1144dadafa |
# Configuration for Move Issues - https://github.com/dessant/move-issues\n\n# Delete the command comment when it contains no other content\ndeleteCommand: true\n\n# Close the source issue after moving\ncloseSourceIssue: true\n\n# Lock the source issue after moving\nlockSourceIssue: false\n\n# Mention issue and comment authors\nmentionAuthors: true\n\n# Preserve mentions in the issue content\nkeepContentMentions: false\n\n# Move labels that also exist on the target repository\nmoveLabels: false\n\n# Set custom aliases for targets\n# aliases:\n# r: repo\n# or: owner/repo\n\n# Repository to extend settings from\n# _extends: repo\n | dataset_sample\yaml\dotnet_runtime\.github\move.yml | move.yml | YAML | 612 | 0.8 | 0.074074 | 0.684211 | node-utils | 766 | 2024-04-10T17:26:01.730993 | Apache-2.0 | false | 02427ed3b1958976676a7288e2911d50 |
name: Bug Report\ndescription: Create a report to help us improve\nlabels: []\nbody:\n - type: markdown\n attributes:\n value: |\n We welcome bug reports! Please see our [contribution guidelines](https://github.com/dotnet/runtime/blob/main/CONTRIBUTING.md#writing-a-good-bug-report) for more information on writing a good bug report. This template will help us gather the information we need to start the triage process.\n - type: textarea\n id: background\n attributes:\n label: Description\n description: Please share a clear and concise description of the problem.\n placeholder: Description\n validations:\n required: true\n - type: textarea\n id: repro-steps\n attributes:\n label: Reproduction Steps\n description: |\n Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small project, with steps to run it. If possible include text as text rather than screenshots (so it shows up in searches).\n placeholder: Minimal Reproduction\n validations:\n required: true\n - type: textarea\n id: expected-behavior\n attributes:\n label: Expected behavior\n description: |\n Provide a description of the expected behavior.\n placeholder: Expected behavior\n validations:\n required: true\n - type: textarea\n id: actual-behavior\n attributes:\n label: Actual behavior\n description: |\n Provide a description of the actual behavior observed. If applicable please include any error messages, exception stacktraces or memory dumps.\n placeholder: Actual behavior\n validations:\n required: true\n - type: textarea\n id: regression\n attributes:\n label: Regression?\n description: |\n Did this work in a previous build or release of .NET Core, or from .NET Framework? If you can try a previous release or build to find out, that can help us narrow down the problem. If you don't know, that's OK.\n placeholder: Regression?\n validations:\n required: false\n - type: textarea\n id: known-workarounds\n attributes:\n label: Known Workarounds\n description: |\n Please provide a description of any known workarounds.\n placeholder: Known Workarounds\n validations:\n required: false\n - type: textarea\n id: configuration\n attributes:\n label: Configuration\n description: |\n Please provide more information on your .NET configuration:\n * Which version of .NET is the code running on?\n * What OS and version, and what distro if applicable?\n * What is the architecture (x64, x86, ARM, ARM64)?\n * Do you know whether it is specific to that configuration?\n * If you're using Blazor, which web browser(s) do you see this issue in?\n placeholder: Configuration\n validations:\n required: false\n - type: textarea\n id: other-info\n attributes:\n label: Other information\n description: |\n If you have an idea where the problem might lie, let us know that here. Please include any pointers to code, relevant changes, or related issues you know of.\n placeholder: Other information\n validations:\n required: false\n | dataset_sample\yaml\dotnet_runtime\.github\ISSUE_TEMPLATE\01_bug_report.yml | 01_bug_report.yml | YAML | 3,237 | 0.95 | 0.047619 | 0.059524 | awesome-app | 71 | 2024-10-27T23:18:13.779716 | Apache-2.0 | false | 4133683a1fe5105129c296a85b8f75f3 |
name: API Suggestion\ndescription: Propose adding a new API to the public API surface\ntitle: "[API Proposal]: "\nlabels: [api-suggestion]\nbody:\n - type: markdown\n attributes:\n value: |\n We welcome API proposals! We have a process to evaluate the value and shape of new APIs. There is an overview of our process [here](https://github.com/dotnet/runtime/blob/main/docs/project/api-review-process.md). This template will help us gather the information we need to start the review process.\n - type: textarea\n id: background\n attributes:\n label: Background and motivation\n description: Please describe the purpose and value of the new API here.\n placeholder: Purpose\n validations:\n required: true\n - type: textarea\n id: api-proposal\n attributes:\n label: API Proposal\n description: |\n Please provide the specific public API signature diff that you are proposing.\n\n You may find the [Framework Design Guidelines](https://github.com/dotnet/runtime/blob/main/docs/coding-guidelines/framework-design-guidelines-digest.md) helpful.\n placeholder: API declaration (no method bodies)\n value: |\n ```csharp\n namespace System.Collections.Generic;\n\n public class MyFancyCollection<T> : IEnumerable<T>\n {\n public void Fancy(T item);\n }\n ```\n validations:\n required: true\n - type: textarea\n id: api-usage\n attributes:\n label: API Usage\n description: |\n Please provide code examples that highlight how the proposed API additions are meant to be consumed. This will help suggest whether the API has the right shape to be functional, performant and usable.\n placeholder: API usage\n value: |\n ```csharp\n // Fancy the value\n var c = new MyFancyCollection<int>();\n c.Fancy(42);\n\n // Getting the values out\n foreach (var v in c)\n Console.WriteLine(v);\n ```\n validations:\n required: true\n - type: textarea\n id: alternative-designs\n attributes:\n label: Alternative Designs\n description: |\n Please provide alternative designs. This might not be APIs; for example instead of providing new APIs an option might be to change the behavior of an existing API.\n placeholder: Alternative designs\n validations:\n required: false\n - type: textarea\n id: risks\n attributes:\n label: Risks\n description: |\n Please mention any risks that to your knowledge the API proposal might entail, such as breaking changes, performance regressions, etc.\n placeholder: Risks\n validations:\n required: false\n | dataset_sample\yaml\dotnet_runtime\.github\ISSUE_TEMPLATE\02_api_proposal.yml | 02_api_proposal.yml | YAML | 2,671 | 0.95 | 0.027027 | 0.028169 | react-lib | 748 | 2024-04-23T15:06:01.800858 | MIT | false | d57a4d59d6a69ddde1558272c57efd4d |
blank_issues_enabled: true\ncontact_links:\n - name: Issue with ASP.NET Core\n url: https://github.com/dotnet/aspnetcore/issues/new/choose\n about: Please open issues relating to ASP.NET Core in dotnet/aspnetcore.\n - name: Issue with .NET SDK\n url: https://github.com/dotnet/sdk/issues/new/choose\n about: Please open issues relating to the .NET SDK in dotnet/sdk.\n - name: Issue with Entity Framework\n url: https://github.com/dotnet/efcore/issues/new/choose\n about: Please open issues relating to Entity Framework in dotnet/efcore.\n - name: Issue with Roslyn compiler\n url: https://github.com/dotnet/roslyn/issues/new/choose\n about: Please open issues relating to the Roslyn .NET compiler in dotnet/roslyn.\n - name: Issue with Windows Forms\n url: https://github.com/dotnet/winforms/issues/new/choose\n about: Please open issues relating to Windows Forms in dotnet/winforms.\n - name: Issue with WPF\n url: https://github.com/dotnet/wpf/issues/new/choose\n about: Please open issues relating to WPF in dotnet/wpf.\n - name: CI Known Issue Report\n url: https://helix.dot.net/BuildAnalysis/CreateKnownIssues\n about: Use the helper to create a Known Issue in CI if failures in your runs are unrelated to your change. See [Failure Analysis](https://github.com/dotnet/runtime/blob/main/docs/workflow/ci/failure-analysis.md#what-to-do-if-you-determine-the-failure-is-unrelated) for triage instructions.\n | dataset_sample\yaml\dotnet_runtime\.github\ISSUE_TEMPLATE\config.yml | config.yml | YAML | 1,442 | 0.8 | 0.130435 | 0 | react-lib | 715 | 2025-05-07T23:03:53.411018 | GPL-3.0 | false | 7cb212cb191474304d5c839791713b70 |
id: binaryformatter-migration\nname: BinaryFormatter migration label automation\nowner: jeffhandley\nresource: repository\ndisabled: false\nconfiguration:\n resourceManagementConfiguration:\n eventResponderTasks:\n - description: '@Mention for binaryformatter-migration'\n if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: binaryformatter-migration\n then:\n - mentionUsers:\n mentionees:\n - adamsitnik\n - bartonjs\n - jeffhandley\n - terrajobst\n replyTemplate: >-\n Tagging subscribers to 'binaryformatter-migration': ${mentionees}\n assignMentionees: False\n | dataset_sample\yaml\dotnet_runtime\.github\policies\binaryformatter-migration.yml | binaryformatter-migration.yml | YAML | 708 | 0.7 | 0.08 | 0 | python-kit | 121 | 2025-04-03T14:13:47.608091 | MIT | false | 52fd900d3207565940535a08163ba594 |
id:\nname: GitOps.PullRequestIssueManagement\ndescription: GitOps.PullRequestIssueManagement primitive\nowner:\nresource: repository\ndisabled: false\nwhere:\nconfiguration:\n resourceManagementConfiguration:\n scheduledSearches:\n - description: Automated Issue cleanup\n frequencies:\n - hourly:\n hour: 6\n filters:\n - noActivitySince:\n days: 1644\n - isIssue\n - isOpen\n - isNotLabeledWith:\n label: backlog-cleanup-candidate\n - isNotLabeledWith:\n label: area-codegen-coreclr\n - isNotLabeledWith:\n label: area-iltools-coreclr\n - isNotLabeledWith:\n label: area-tools-ilverification\n actions:\n - addReply:\n reply: >-\n Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.\n\n\n This process is part of our [issue cleanup automation](https://github.com/dotnet/runtime/blob/main/docs/issue-cleanup.md).\n - addLabel:\n label: backlog-cleanup-candidate\n - addLabel:\n label: no-recent-activity\n - description: Add no-recent-activity label to issues\n frequencies:\n - hourly:\n hour: 6\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: needs-author-action\n - noActivitySince:\n days: 14\n - isNotLabeledWith:\n label: no-recent-activity\n actions:\n - addLabel:\n label: no-recent-activity\n - addReply:\n reply: This issue has been automatically marked `no-recent-activity` because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove `no-recent-activity`.\n - description: Add no-recent-activity label to PRs\n frequencies:\n - hourly:\n hour: 6\n filters:\n - isPullRequest\n - isOpen\n - hasLabel:\n label: needs-author-action\n - noActivitySince:\n days: 14\n - isNotLabeledWith:\n label: no-recent-activity\n actions:\n - addLabel:\n label: no-recent-activity\n - addReply:\n reply: This pull request has been automatically marked `no-recent-activity` because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove `no-recent-activity`.\n - description: Close issues with no recent activity\n frequencies:\n - hourly:\n hour: 6\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: no-recent-activity\n - noActivitySince:\n days: 14\n actions:\n - addReply:\n reply: This issue will now be closed since it had been marked `no-recent-activity` but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.\n - closeIssue\n - description: Close PRs with no-recent-activity\n frequencies:\n - hourly:\n hour: 6\n filters:\n - isPullRequest\n - isOpen\n - hasLabel:\n label: no-recent-activity\n - noActivitySince:\n days: 14\n actions:\n - addReply:\n reply: This pull request will now be closed since it had been marked `no-recent-activity` but received no further activity in the past 14 days. It is still possible to reopen or comment on the pull request, but please note that it will be locked if it remains inactive for another 30 days.\n - closeIssue\n - description: Close inactive Draft PRs\n frequencies:\n - hourly:\n hour: 6\n filters:\n - isDraftPullRequest\n - isOpen\n - noActivitySince:\n days: 30\n actions:\n - closeIssue\n - addReply:\n reply: Draft Pull Request was automatically closed for 30 days of inactivity. Please [let us know](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you'd like to reopen it.\n eventResponderTasks:\n - if:\n - isOpen\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - or:\n - labelAdded:\n label: area-AssemblyLoader-coreclr\n - labelAdded:\n label: area-AssemblyLoader-mono\n - labelAdded:\n label: area-CodeGen-coreclr\n - labelAdded:\n label: area-Codegen-Interpreter-mono\n - labelAdded:\n label: area-CodeGen-Interpreter-coreclr\n - labelAdded:\n label: area-Codegen-JIT-Mono\n - labelAdded:\n label: area-CodeGen-LLVM-Mono\n - labelAdded:\n label: area-Codegen-Intrinsics-mono\n - labelAdded:\n label: area-CodeGen-meta-Mono\n - labelAdded:\n label: area-System.DateTime\n - labelAdded:\n label: area-Debugger-mono\n - labelAdded:\n label: area-DependencyModel\n - labelAdded:\n label: area-Diagnostics-coreclr\n - labelAdded:\n label: area-Extensions-Caching\n - labelAdded:\n label: area-Extensions-Configuration\n - labelAdded:\n label: area-Extensions-DependencyInjection\n - labelAdded:\n label: area-Extensions-FileSystem\n - labelAdded:\n label: area-Extensions-Hosting\n - labelAdded:\n label: area-Extensions-HttpClientFactory\n - labelAdded:\n label: area-Extensions-Logging\n - labelAdded:\n label: area-Extensions-Options\n - labelAdded:\n label: area-Extensions-Primitives\n - labelAdded:\n label: area-GC-coreclr\n - labelAdded:\n label: area-GC-mono\n - labelAdded:\n label: area-Host\n - labelAdded:\n label: area-HostModel\n - labelAdded:\n label: area-ILTools-coreclr\n - labelAdded:\n label: area-Tools-ILVerification\n - labelAdded:\n label: area-Infrastructure\n - labelAdded:\n label: area-Infrastructure-coreclr\n - labelAdded:\n label: area-Infrastructure-libraries\n - labelAdded:\n label: area-Infrastructure-mono\n - labelAdded:\n label: area-Interop-coreclr\n - labelAdded:\n label: area-Meta\n - labelAdded:\n label: area-Microsoft.CSharp\n - labelAdded:\n label: area-Microsoft.Extensions\n - labelAdded:\n label: area-Microsoft.VisualBasic\n - labelAdded:\n label: area-Microsoft.Win32\n - labelAdded:\n label: area-NativeAOT-coreclr\n - labelAdded:\n label: area-Single-File\n - labelAdded:\n label: area-System.Buffers\n - labelAdded:\n label: area-System.CodeDom\n - labelAdded:\n label: area-System.Collections\n - labelAdded:\n label: area-System.ComponentModel\n - labelAdded:\n label: area-System.ComponentModel.Composition\n - labelAdded:\n label: area-System.ComponentModel.DataAnnotations\n - labelAdded:\n label: area-System.Composition\n - labelAdded:\n label: area-System.Configuration\n - labelAdded:\n label: area-System.Console\n - labelAdded:\n label: area-System.Data\n - labelAdded:\n label: area-System.Data.Odbc\n - labelAdded:\n label: area-System.Data.OleDB\n - labelAdded:\n label: area-System.Data.SqlClient\n - labelAdded:\n label: area-System.Diagnostics\n - labelAdded:\n label: area-System.Diagnostics.Activity\n - labelAdded:\n label: area-System.Diagnostics.EventLog\n - labelAdded:\n label: area-System.Diagnostics.PerformanceCounter\n - labelAdded:\n label: area-System.Diagnostics.Process\n - labelAdded:\n label: area-System.Diagnostics.TraceSource\n - labelAdded:\n label: area-System.Diagnostics.Tracing\n - labelAdded:\n label: area-System.DirectoryServices\n - labelAdded:\n label: area-System.Drawing\n - labelAdded:\n label: area-System.Dynamic.Runtime\n - labelAdded:\n label: area-System.Formats.Asn1\n - labelAdded:\n label: area-System.Formats.Cbor\n - labelAdded:\n label: area-System.Formats.Tar\n - labelAdded:\n label: area-System.Globalization\n - labelAdded:\n label: area-System.IO\n - labelAdded:\n label: area-System.IO.Compression\n - labelAdded:\n label: area-System.IO.Hashing\n - labelAdded:\n label: area-System.IO.Ports\n - labelAdded:\n label: area-System.Linq\n - labelAdded:\n label: area-System.Linq.Expressions\n - labelAdded:\n label: area-System.Linq.Parallel\n - labelAdded:\n label: area-System.Management\n - labelAdded:\n label: area-System.Memory\n - labelAdded:\n label: area-System.Net\n - labelAdded:\n label: area-System.Net.Http\n - labelAdded:\n label: area-System.Net.Quic\n - labelAdded:\n label: area-System.Net.Security\n - labelAdded:\n label: area-System.Net.Sockets\n - labelAdded:\n label: area-System.Numerics\n - labelAdded:\n label: area-System.Numerics.Tensors\n - labelAdded:\n label: area-System.Reflection\n - labelAdded:\n label: area-System.Reflection.Emit\n - labelAdded:\n label: area-System.Reflection.Metadata\n - labelAdded:\n label: area-System.Resources\n - labelAdded:\n label: area-System.Runtime\n - labelAdded:\n label: area-System.Runtime.CompilerServices\n - labelAdded:\n label: area-System.Runtime.InteropServices\n - labelAdded:\n label: area-System.Runtime.Intrinsics\n - labelAdded:\n label: area-System.Security\n - labelAdded:\n label: area-System.ServiceProcess\n - labelAdded:\n label: area-System.Speech\n - labelAdded:\n label: area-System.Text.Encoding\n - labelAdded:\n label: area-System.Text.Encodings.Web\n - labelAdded:\n label: area-System.Text.Json\n - labelAdded:\n label: area-System.Text.RegularExpressions\n - labelAdded:\n label: area-System.Threading\n - labelAdded:\n label: area-System.Threading.Channels\n - labelAdded:\n label: area-System.Threading.Tasks\n - labelAdded:\n label: area-System.Transactions\n - labelAdded:\n label: area-System.Xml\n - labelAdded:\n label: area-Tools-ILLink\n - labelAdded:\n label: area-vm-coreclr\n then:\n - if:\n - hasLabel:\n label: area-AssemblyLoader-coreclr\n then:\n - mentionUsers:\n mentionees:\n - vitek-karas\n - agocke\n - vsadov\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-AssemblyLoader-mono\n then:\n - mentionUsers:\n mentionees: []\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-CodeGen-coreclr\n then:\n - mentionUsers:\n mentionees:\n - JulieLeeMSFT\n - jakobbotsch\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Codegen-Interpreter-mono\n then:\n - mentionUsers:\n mentionees:\n - brzvlad\n - kotlarmilos\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-CodeGen-Interpreter-coreclr\n then:\n - mentionUsers:\n mentionees:\n - brzvlad\n - janvorli\n - kg\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Codegen-JIT-Mono\n then:\n - mentionUsers:\n mentionees:\n - steveisok\n - vitek-karas\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-CodeGen-LLVM-Mono\n then:\n - mentionUsers:\n mentionees:\n - steveisok\n - vitek-karas\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Codegen-Intrinsics-mono\n then:\n - mentionUsers:\n mentionees:\n - steveisok\n - vitek-karas\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-CodeGen-meta-Mono\n then:\n - mentionUsers:\n mentionees:\n - steveisok\n - vitek-karas\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.DateTime\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-datetime\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Debugger-mono\n then:\n - mentionUsers:\n mentionees:\n - thaystg\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-DependencyModel\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-dependencymodel\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Diagnostics-coreclr\n then:\n - mentionUsers:\n mentionees:\n - tommcdon\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-Caching\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-caching\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-Configuration\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-configuration\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-DependencyInjection\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-dependencyinjection\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-FileSystem\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-filesystem\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-Hosting\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-hosting\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-HttpClientFactory\n then:\n - mentionUsers:\n mentionees:\n - dotnet/ncl\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-Logging\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-logging\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-Options\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-options\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Extensions-Primitives\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-extensions-primitives\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-GC-coreclr\n then:\n - mentionUsers:\n mentionees:\n - dotnet/gc\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-GC-mono\n then:\n - mentionUsers:\n mentionees:\n - brzvlad\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Host\n then:\n - mentionUsers:\n mentionees:\n - vitek-karas\n - agocke\n - vsadov\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-HostModel\n then:\n - mentionUsers:\n mentionees:\n - vitek-karas\n - agocke\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-ILTools-coreclr\n then:\n - mentionUsers:\n mentionees:\n - JulieLeeMSFT\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Tools-ILVerification\n then:\n - mentionUsers:\n mentionees:\n - JulieLeeMSFT\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Infrastructure\n then:\n - mentionUsers:\n mentionees:\n - dotnet/runtime-infrastructure\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Infrastructure-coreclr\n then:\n - mentionUsers:\n mentionees:\n - hoyosjs\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Infrastructure-libraries\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-infrastructure-libraries\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Infrastructure-mono\n then:\n - mentionUsers:\n mentionees:\n - akoeplinger\n - matouskozak\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Meta\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-meta\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Microsoft.CSharp\n then:\n - mentionUsers:\n mentionees:\n - cston\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Microsoft.Extensions\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-microsoft-extensions\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Microsoft.VisualBasic\n then:\n - mentionUsers:\n mentionees:\n - cston\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Microsoft.Win32\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-microsoft-win32\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-NativeAOT-coreclr\n then:\n - mentionUsers:\n mentionees:\n - agocke\n - MichalStrehovsky\n - jkotas\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Single-File\n then:\n - mentionUsers:\n mentionees:\n - agocke\n - vitek-karas\n - vsadov\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Buffers\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-buffers\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.CodeDom\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-codedom\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Collections\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-collections\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.ComponentModel\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-componentmodel\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.ComponentModel.Composition\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-componentmodel-composition\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.ComponentModel.DataAnnotations\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-componentmodel-dataannotations\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Composition\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-composition\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Configuration\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-configuration\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Console\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-console\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Data\n then:\n - mentionUsers:\n mentionees:\n - roji\n - ajcvickers\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Data.Odbc\n then:\n - mentionUsers:\n mentionees:\n - roji\n - ajcvickers\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Data.OleDB\n then:\n - mentionUsers:\n mentionees:\n - roji\n - ajcvickers\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Data.SqlClient\n then:\n - mentionUsers:\n mentionees:\n - cheenamalhotra\n - david-engel\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Diagnostics\n then:\n - mentionUsers:\n mentionees:\n - tommcdon\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Diagnostics.Activity\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-diagnostics-activity\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Diagnostics.EventLog\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-diagnostics-eventlog\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Diagnostics.PerformanceCounter\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-diagnostics-performancecounter\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Diagnostics.Process\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-diagnostics-process\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Diagnostics.TraceSource\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-diagnostics-tracesource\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Diagnostics.Tracing\n then:\n - mentionUsers:\n mentionees:\n - tarekgh\n - tommcdon\n - pjanotti\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.DirectoryServices\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-directoryservices\n - jay98014\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Drawing\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-drawing\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Dynamic.Runtime\n then:\n - mentionUsers:\n mentionees:\n - cston\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Formats.Asn1\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-formats-asn1\n - bartonjs\n - vcsjones\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Formats.Cbor\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-formats-cbor\n - bartonjs\n - vcsjones\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Formats.Tar\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-formats-tar\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Globalization\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-globalization\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.IO\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-io\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.IO.Compression\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-io-compression\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.IO.Hashing\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-io-hashing\n - bartonjs\n - vcsjones\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.IO.Ports\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-io-ports\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Linq\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-linq\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Linq.Expressions\n then:\n - mentionUsers:\n mentionees:\n - cston\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Linq.Parallel\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-linq-parallel\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Management\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-management\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Memory\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-memory\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Net\n then:\n - mentionUsers:\n mentionees:\n - dotnet/ncl\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Net.Http\n then:\n - mentionUsers:\n mentionees:\n - dotnet/ncl\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Net.Quic\n then:\n - mentionUsers:\n mentionees:\n - dotnet/ncl\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Net.Security\n then:\n - mentionUsers:\n mentionees:\n - dotnet/ncl\n - bartonjs\n - vcsjones\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Net.Sockets\n then:\n - mentionUsers:\n mentionees:\n - dotnet/ncl\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Numerics\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-numerics\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Numerics.Tensors\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-numerics-tensors\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Reflection\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-reflection\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Reflection.Emit\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-reflection-emit\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Reflection.Metadata\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-reflection-metadata\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Resources\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-resources\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Runtime\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-runtime\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Runtime.CompilerServices\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-runtime-compilerservices\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Runtime.InteropServices\n then:\n - mentionUsers:\n mentionees:\n - dotnet/interop-contrib\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Interop-coreclr\n then:\n - mentionUsers:\n mentionees:\n - dotnet/interop-contrib\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Runtime.Intrinsics\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-runtime-intrinsics\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Security\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-security\n - bartonjs\n - vcsjones\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.ServiceProcess\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-serviceprocess\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Speech\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-speech\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Text.Encoding\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-text-encoding\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Text.Encodings.Web\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-text-encodings-web\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Text.Json\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-text-json\n - gregsdennis\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Text.RegularExpressions\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-text-regularexpressions\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Threading\n then:\n - mentionUsers:\n mentionees:\n - mangod9\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Threading.Channels\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-threading-channels\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Threading.Tasks\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-threading-tasks\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Transactions\n then:\n - mentionUsers:\n mentionees:\n - roji\n - ajcvickers\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-System.Xml\n then:\n - mentionUsers:\n mentionees:\n - dotnet/area-system-xml\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-Tools-ILLink\n then:\n - mentionUsers:\n mentionees:\n - dotnet/illink\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n - if:\n - hasLabel:\n label: area-vm-coreclr\n then:\n - mentionUsers:\n mentionees:\n - mangod9\n replyTemplate: >-\n Tagging subscribers to this area: ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: Area-owners\n - if:\n - payloadType: Issues\n - labelAdded:\n label: breaking-change\n then:\n - addLabel:\n label: needs-breaking-change-doc-created\n - addReply:\n reply: >-\n Added `needs-breaking-change-doc-created` label because this issue has the `breaking-change` label.\n\n\n 1. [ ] Create and link to this issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://aka.ms/dotnet/docs/new-breaking-change-issue), then remove this `needs-breaking-change-doc-created` label.\n\n\n Tagging @dotnet/compat for awareness of the breaking change.\n description: Add breaking change doc label to issue\n - if:\n - payloadType: Pull_Request\n - labelAdded:\n label: breaking-change\n - isPullRequest\n then:\n - addLabel:\n label: needs-breaking-change-doc-created\n - addReply:\n reply: >-\n Added `needs-breaking-change-doc-created` label because this PR has the `breaking-change` label.\n\n\n When you commit this breaking change:\n\n\n 1. [ ] Create and link to this PR and the issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://aka.ms/dotnet/docs/new-breaking-change-issue), then remove this `needs-breaking-change-doc-created` label.\n\n 2. [ ] Ask a committer to mail the `.NET Breaking Change Notification` DL.\n\n\n Tagging @dotnet/compat for awareness of the breaking change.\n description: Add breaking change doc label to PR\n - if:\n - payloadType: Pull_Request\n - or:\n - filesMatchPattern:\n pattern: .*ILLink.*\n - filesMatchPattern:\n pattern: .*illink.*\n - not:\n hasLabel:\n label: linkable-framework\n - isPullRequest\n - isOpen\n then:\n - addLabel:\n label: linkable-framework\n description: '[Linkable-framework workgroup] Add linkable-framework label to new Prs that touch files with *ILLink* that not have it already'\n - if:\n - payloadType: Pull_Request\n - or:\n - filesMatchPattern:\n pattern: .*ILLink.*\n - filesMatchPattern:\n pattern: .*illink.*\n - not:\n hasLabel:\n label: linkable-framework\n - isPullRequest\n - isOpen\n - isAction:\n action: Synchronize\n then:\n - addLabel:\n label: linkable-framework\n description: '[Linkable-framework workgroup] Add linkable-framework label to Prs that get changes pushed where they touch *ILLInk* files'\n - if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: linkable-framework\n then:\n - mentionUsers:\n mentionees:\n - eerhardt\n - vitek-karas\n - LakshanF\n - sbomer\n - joperezr\n - marek-safar\n replyTemplate: >-\n Tagging subscribers to 'linkable-framework': ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: '@Mention for linkable-framework'\n - if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: size-reduction\n then:\n - mentionUsers:\n mentionees:\n - eerhardt\n - SamMonoRT\n - marek-safar\n replyTemplate: >-\n Tagging subscribers to 'size-reduction': ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: '@Mention for size-reduction'\n - if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: arch-wasm\n then:\n - mentionUsers:\n mentionees:\n - lewing\n replyTemplate: >-\n Tagging subscribers to 'arch-wasm': ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: '@Mention for arch-wasm'\n - if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: os-ios\n then:\n - mentionUsers:\n mentionees:\n - vitek-karas\n - kotlarmilos\n - ivanpovazan\n - steveisok\n - akoeplinger\n replyTemplate: >-\n Tagging subscribers to 'os-ios': ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: '@Mention for os-ios'\n - if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: os-android\n then:\n - mentionUsers:\n mentionees:\n - vitek-karas\n - simonrozsival\n - steveisok\n - akoeplinger\n replyTemplate: >-\n Tagging subscribers to 'arch-android': ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: '@Mention for os-android'\n - if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: os-tvos\n then:\n - mentionUsers:\n mentionees:\n - vitek-karas\n - kotlarmilos\n - ivanpovazan\n - steveisok\n - akoeplinger\n replyTemplate: >-\n Tagging subscribers to 'os-tvos': ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: '@Mention for os-tvos'\n - if:\n - or:\n - payloadType: Issues\n - payloadType: Pull_Request\n - labelAdded:\n label: os-maccatalyst\n then:\n - mentionUsers:\n mentionees:\n - vitek-karas\n - kotlarmilos\n - ivanpovazan\n - steveisok\n - akoeplinger\n replyTemplate: >-\n Tagging subscribers to 'os-maccatalyst': ${mentionees}\n\n See info in [area-owners.md](https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) if you want to be subscribed.\n assignMentionees: False\n description: '@Mention for os-maccatalyst'\n - if:\n - payloadType: Issues\n - labelAdded:\n label: backlog-cleanup-candidate\n then:\n - addReply:\n reply: >-\n Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.\n\n\n This process is part of our [issue cleanup automation](https://github.com/dotnet/runtime/blob/main/docs/issue-cleanup.md).\n - addLabel:\n label: no-recent-activity\n description: Manual Issue Cleanup\n - if:\n - payloadType: Issues\n - or:\n - isAction:\n action: Opened\n - isAction:\n action: Reopened\n - isOpen\n - not: isPartOfAnyMilestone\n - not:\n hasLabel:\n label: untriaged\n then:\n - addLabel:\n label: untriaged\n description: Add untriaged label to new/reopened issues without a milestone\n - if:\n - payloadType: Issues\n - or:\n - isAction:\n action: Closed\n - isPartOfAnyMilestone\n - hasLabel:\n label: untriaged\n then:\n - removeLabel:\n label: untriaged\n description: Remove untriaged label from issues when closed or added to a milestone\n - if:\n - payloadType: Pull_Request\n then:\n - inPrLabel:\n label: in-pr\n description: Add `in-pr` label on issue when an open pull request is targeting it\n - if:\n - payloadType: Pull_Request\n - isAction:\n action: Opened\n - not:\n activitySenderHasPermission:\n permission: Read\n then:\n - assignTo:\n author: True\n description: Assign Team PRs to author\n - if:\n - payloadType: Pull_Request\n - isAction:\n action: Opened\n - isPullRequest\n - and:\n - not:\n activitySenderHasPermission:\n permission: Admin\n - not:\n activitySenderHasPermission:\n permission: Write\n - not:\n isActivitySender:\n user: github-actions[bot]\n issueAuthor: False\n - not:\n isActivitySender:\n user: dotnet-maestro[bot]\n issueAuthor: False\n - not:\n isActivitySender:\n user: dotnet-maestro-bot[bot]\n issueAuthor: False\n - not:\n isActivitySender:\n user: dotnet-maestro-bot\n issueAuthor: False\n - not:\n isActivitySender:\n user: dotnet-maestro\n issueAuthor: False\n - not:\n isActivitySender:\n user: github-actions\n issueAuthor: False\n - not:\n isActivitySender:\n user: dependabot[bot]\n issueAuthor: False\n then:\n - addLabel:\n label: community-contribution\n description: Label community PRs\n - if:\n - payloadType: Issues\n - labelAdded:\n label: needs-author-action\n then:\n - addReply:\n reply: This issue has been marked `needs-author-action` and may be missing some important information.\n description: Needs-author-action notification\n - if:\n - payloadType: Pull_Request_Review\n - not:\n activitySenderHasPermission:\n permission: Read\n - isPullRequest\n - isAction:\n action: Submitted\n - isReviewState:\n reviewState: Changes_requested\n then:\n - addLabel:\n label: needs-author-action\n description: PR reviews with "changes requested" applies the needs-author-action label\n - if:\n - payloadType: Issue_Comment\n - isAction:\n action: Created\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: needs-author-action\n - not:\n hasLabel:\n label: untriaged\n - isIssue\n - isOpen\n then:\n - addLabel:\n label: needs-further-triage\n - removeLabel:\n label: needs-author-action\n description: Replace `needs-author-action` label with `needs-further-triage` label when the author comments on an issue that is not still untriaged\n - if:\n - payloadType: Issue_Comment\n - isAction:\n action: Created\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: needs-author-action\n - hasLabel:\n label: untriaged\n - isIssue\n - isOpen\n then:\n - removeLabel:\n label: needs-author-action\n description: Remove `needs-author-action` label when the author comments on an `untriaged` issue\n - if:\n - payloadType: Pull_Request\n - isPullRequest\n - isAction:\n action: Synchronize\n - hasLabel:\n label: needs-author-action\n then:\n - removeLabel:\n label: needs-author-action\n description: Pushing changes to PR branch removes the needs-author-action label\n - if:\n - payloadType: Issue_Comment\n - isActivitySender:\n issueAuthor: True\n - isAction:\n action: Created\n - hasLabel:\n label: needs-author-action\n - isPullRequest\n - isOpen\n then:\n - removeLabel:\n label: needs-author-action\n description: Author commenting in PR removes the needs-author-action label\n - if:\n - payloadType: Pull_Request_Review\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: needs-author-action\n - isAction:\n action: Submitted\n - isPullRequest\n - isOpen\n then:\n - removeLabel:\n label: needs-author-action\n description: Author responding to a pull request review comment removes the needs-author-action label\n - if:\n - payloadType: Issues\n - not:\n isAction:\n action: Closed\n - hasLabel:\n label: no-recent-activity\n - not:\n labelAdded:\n label: no-recent-activity\n then:\n - removeLabel:\n label: no-recent-activity\n - removeLabel:\n label: backlog-cleanup-candidate\n description: Remove `no-recent-activity` label from issues when issue is modified\n - if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: no-recent-activity\n - isIssue\n then:\n - removeLabel:\n label: no-recent-activity\n - removeLabel:\n label: backlog-cleanup-candidate\n description: Remove `no-recent-activity` label when an issue is commented on\n - if:\n - payloadType: Pull_Request\n - isPullRequest\n - isOpen\n - hasLabel:\n label: no-recent-activity\n - not:\n labelAdded:\n label: no-recent-activity\n then:\n - removeLabel:\n label: no-recent-activity\n - removeLabel:\n label: backlog-cleanup-candidate\n description: Remove `no-recent-activity` label from PRs when modified\n - if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: no-recent-activity\n - isPullRequest\n - isOpen\n then:\n - removeLabel:\n label: no-recent-activity\n - removeLabel:\n label: backlog-cleanup-candidate\n description: Remove `no-recent-activity` label from PRs when commented on\n - if:\n - payloadType: Pull_Request_Review\n - hasLabel:\n label: no-recent-activity\n - isPullRequest\n - isOpen\n then:\n - removeLabel:\n label: no-recent-activity\n - removeLabel:\n label: backlog-cleanup-candidate\n description: Remove `no-recent-activity` label from PRs when new review is added\nonFailure:\nonSuccess:\n | dataset_sample\yaml\dotnet_runtime\.github\policies\resourceManagement.yml | resourceManagement.yml | YAML | 73,363 | 0.75 | 0.128144 | 0 | react-lib | 50 | 2023-12-25T15:41:55.411274 | MIT | false | f33a3c42f739fb4609d87be220fe1246 |
name: AspNetCore->Runtime Code Sync\non:\n # Manual run\n workflow_dispatch:\n\npermissions:\n contents: write\n issues: write\n pull-requests: write\n\njobs:\n compare_repos:\n # Comment out this line to test the scripts in a fork\n if: github.repository == 'dotnet/runtime'\n name: Sync Code\n runs-on: windows-latest\n steps:\n - name: Checkout aspnetcore\n uses: actions/checkout@v4\n with:\n # Test this script using changes in a fork\n repository: 'dotnet/aspnetcore'\n path: aspnetcore\n ref: main\n - name: Checkout runtime\n uses: actions/checkout@v4\n with:\n # Test this script using changes in a fork\n repository: 'dotnet/runtime'\n path: runtime\n ref: main\n - name: Copy\n shell: cmd\n working-directory: .\aspnetcore\src\Shared\runtime\\n env:\n RUNTIME_REPO: d:\a\runtime\runtime\runtime\\n run: CopyToRuntime.cmd\n - name: Diff\n shell: cmd\n working-directory: .\runtime\\n run: |\n mkdir ..\artifacts\n git status > ..\artifacts\status.txt\n git diff > ..\artifacts\diff.txt\n - uses: actions/upload-artifact@v4\n with:\n name: results\n path: artifacts\n - name: Check\n id: check\n shell: pwsh\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n run: |\n $changed = .\runtime\.github\workflows\aspnetcore-sync-checkdiff.ps1\n echo "::set-output name=changed::$changed"\n - name: Send PR\n if: steps.check.outputs.changed == 'true'\n # https://github.com/marketplace/actions/create-pull-request\n uses: dotnet/actions-create-pull-request@v4\n with:\n token: ${{ secrets.GITHUB_TOKEN }}\n path: .\runtime\n commit-message: 'Sync shared code from aspnetcore'\n title: 'Sync shared code from aspnetcore'\n body: 'This PR was automatically generated to sync shared code changes from aspnetcore. Fixes https://github.com/dotnet/aspnetcore/issues/18943'\n labels: area-System.Net.Http\n base: main\n branch: github-action/sync-aspnetcore\n branch-suffix: timestamp\n | dataset_sample\yaml\dotnet_runtime\.github\workflows\aspnetcore-sync.yml | aspnetcore-sync.yml | YAML | 2,137 | 0.8 | 0.028571 | 0.073529 | node-utils | 289 | 2024-04-16T08:12:18.948199 | GPL-3.0 | false | 063e23e9ed1f34e8b8811779fcbe7877 |
name: Backport PR to branch\non:\n issue_comment:\n types: [created]\n schedule:\n # once a day at 13:00 UTC to cleanup old runs\n - cron: '0 13 * * *'\n\npermissions:\n contents: write\n issues: write\n pull-requests: write\n actions: write\n\njobs:\n backport:\n if: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }}\n uses: dotnet/arcade/.github/workflows/backport-base.yml@main\n with:\n pr_description_template: |\n Backport of #%source_pr_number% to %target_branch%\n\n /cc %cc_users%\n\n ## Customer Impact\n\n - [ ] Customer reported\n - [ ] Found internally\n\n [Select one or both of the boxes. Describe how this issue impacts customers, citing the expected and actual behaviors and scope of the issue. If customer-reported, provide the issue number.]\n\n ## Regression\n\n - [ ] Yes\n - [ ] No\n\n [If yes, specify when the regression was introduced. Provide the PR or commit if known.]\n\n ## Testing\n\n [How was the fix verified? How was the issue missed previously? What tests were added?]\n\n ## Risk\n\n [High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]\n\n **IMPORTANT**: If this backport is for a servicing release, please verify that:\n\n - The PR target branch is `release/X.0-staging`, not `release/X.0`.\n\n ## Package authoring no longer needed in .NET 9\n\n **IMPORTANT**: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.\n Keep in mind that we still need package authoring in .NET 8 and older versions. | dataset_sample\yaml\dotnet_runtime\.github\workflows\backport.yml | backport.yml | YAML | 1,693 | 0.8 | 0.056604 | 0.216216 | react-lib | 725 | 2024-10-19T09:49:15.111315 | Apache-2.0 | false | 578f2254f52519be251bbf863fb7f4fe |
name: Update Chrome Version used for wasm testing\n\npermissions:\n contents: write\n pull-requests: write\n\non:\n schedule:\n - cron: '0 0 * * 0'\n\n workflow_dispatch:\n\njobs:\n update:\n if: github.repository == 'dotnet/runtime'\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n - name: Setup Branch\n run: |\n git config user.name github-actions[bot]\n git config user.email github-actions[bot]@users.noreply.github.com\n git checkout -b update-chrome-version-${{ github.run_id }}\n\n - name: Run UpdateToLatestVersion\n run: >-\n make -C src/mono/wasm build-tasks &&\n PATH=$PWD/.dotnet:$PATH dotnet build eng/testing/bump-chrome-version.proj -p:Configuration=Release &&\n git add eng/testing/BrowserVersions.props &&\n cat eng/testing/bump-chrome-pr.env >> "$GITHUB_ENV"\n\n - name: Check for changes\n id: check_changes\n run: |\n echo "has_changes=$(git diff-index --quiet HEAD && echo false || echo true)" >> $GITHUB_OUTPUT\n\n - name: Commit Update\n run: |\n echo steps.check_changes.outputs.has_changes=${{steps.check_changes.outputs.has_changes}}\n if ${{steps.check_changes.outputs.has_changes}} == 'true'; then\n git commit -m "Automated bump of chrome version"\n git push --set-upstream origin update-chrome-version-${{ github.run_id }}\n else\n echo "No changes detected."\n fi\n\n - name: Create PR\n if: steps.check_changes.outputs.has_changes == 'true'\n uses: actions/github-script@v7\n with:\n script: |\n const { CHROME_LINUX_VER, CHROME_WIN_VER } = process.env;\n const title = `[wasm] Bump chrome for testing - linux: ${CHROME_LINUX_VER}, windows: ${CHROME_WIN_VER}`;\n const { data: pullRequest } = await github.rest.pulls.create({\n base: context.ref,\n head: "update-chrome-version-${{ github.run_id }}",\n owner: context.repo.owner,\n repo: context.repo.repo,\n title: title,\n body: ''\n });\n await github.rest.issues.setLabels({\n owner: context.repo.owner,\n repo: context.repo.repo,\n issue_number: pullRequest.number,\n labels: ['arch-wasm', 'area-infrastructure-mono']\n });\n await github.rest.pulls.requestReviewers({\n owner: context.repo.owner,\n repo: context.repo.repo,\n pull_number: pullRequest.number,\n reviewers: ["lewing", "pavelsavara", "maraf", "ilonatommy", "akoeplinger"]\n });\n return pullRequest.number;\n | dataset_sample\yaml\dotnet_runtime\.github\workflows\bump-chrome-version.yml | bump-chrome-version.yml | YAML | 2,761 | 0.7 | 0.08 | 0 | awesome-app | 665 | 2025-05-06T04:00:00.141884 | Apache-2.0 | false | 56769e3865765017260accb27c317999 |
name: check-no-merge-label\n\npermissions:\n pull-requests: read\n\non:\n pull_request_target:\n types: [opened, edited, reopened, labeled, unlabeled, synchronize]\n branches:\n - 'main'\n - 'release/**'\n\njobs:\n check-labels:\n if: github.repository == 'dotnet/runtime'\n runs-on: ubuntu-latest\n steps:\n - name: Check 'NO-MERGE' label\n run: |\n echo "Merging permission is disabled when the 'NO-MERGE' label is applied."\n if [ "${{ contains(github.event.pull_request.labels.*.name, 'NO-MERGE') }}" = "false" ]; then\n exit 0\n else\n echo "::error:: The 'NO-MERGE' label was applied to the PR. Merging is disabled."\n exit 1\n fi\n | dataset_sample\yaml\dotnet_runtime\.github\workflows\check-no-merge-label.yml | check-no-merge-label.yml | YAML | 703 | 0.8 | 0.076923 | 0 | python-kit | 261 | 2024-07-11T00:27:10.042539 | MIT | false | a4a8a315b7f46d0e0483c1afe1edb4ee |
name: check-service-labels\n\npermissions:\n pull-requests: read\n\non:\n pull_request_target:\n types: [opened, edited, reopened, labeled, unlabeled, synchronize]\n branches:\n - 'release/**'\n\njobs:\n check-labels:\n if: github.repository == 'dotnet/runtime'\n runs-on: ubuntu-latest\n steps:\n - name: Check 'Servicing-approved' label\n run: |\n echo "Merging permission is enabled for servicing PRs when the 'Servicing-approved' label is applied."\n if [ "${{ contains(github.event.pull_request.labels.*.name, 'Servicing-approved') }}" = "true" ]; then\n exit 0\n else\n echo "::error:: 'Servicing-approved' label not applied to the PR yet. More information: https://github.com/dotnet/runtime/blob/main/docs/project/library-servicing.md#approval-process"\n exit 1\n fi\n | dataset_sample\yaml\dotnet_runtime\.github\workflows\check-service-labels.yml | check-service-labels.yml | YAML | 836 | 0.8 | 0.12 | 0 | node-utils | 370 | 2024-03-06T18:34:29.208252 | GPL-3.0 | false | 02f3ce82567cda9b6d54fd710149ba2c |
name: Inter-branch merge workflow\non:\n push:\n branches:\n - release/**\n\npermissions:\n contents: write\n pull-requests: write\n\njobs:\n Merge:\n uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main | dataset_sample\yaml\dotnet_runtime\.github\workflows\inter-branch-merge-flow.yml | inter-branch-merge-flow.yml | YAML | 224 | 0.8 | 0 | 0 | vue-tools | 6 | 2024-01-03T17:07:57.884215 | MIT | false | 367d81a1e1801b244fc90a89d375330b |
name: Format jit codebase\n\non:\n pull_request:\n paths:\n - '.github/workflows/jit-format.yml'\n - 'src/coreclr/jit/**'\n branches: [ main ]\n\njobs:\n format:\n strategy:\n fail-fast: false\n matrix:\n os:\n - name: linux\n image: ubuntu-latest\n container: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-amd64\n extension: '.sh'\n cross: '--cross'\n rootfs: '/crossrootfs/x64'\n - name: windows\n image: windows-latest\n extension: '.cmd'\n cross: ''\n rootfs: ''\n runs-on: ${{ matrix.os.image }}\n container: ${{ matrix.os.container }}\n name: Format jit codebase ${{ matrix.os.name }}\n steps:\n - name: Install .NET\n uses: actions/setup-dotnet@v4\n with:\n dotnet-version: '8.0.x'\n - name: Checkout runtime\n uses: actions/checkout@v4\n with:\n path: runtime\n - name: Install Python\n uses: actions/setup-python@v5\n \n - name: Run jitformat.py\n run: |\n python3 runtime/src/coreclr/scripts/jitformat.py -r runtime -o ${{ matrix.os.name }} -a x64 ${{ matrix.os.cross }}\n env:\n ROOTFS_DIR: ${{ matrix.os.rootfs }}\n \n - name: Publish format.patch\n uses: actions/upload-artifact@v4\n with:\n path: runtime/format.patch\n name: format.${{matrix.os.name}}.patch\n if: failure()\n | dataset_sample\yaml\dotnet_runtime\.github\workflows\jit-format.yml | jit-format.yml | YAML | 1,490 | 0.8 | 0.018868 | 0 | awesome-app | 133 | 2024-09-09T23:11:29.045175 | GPL-3.0 | false | 10bac1f237b055332265486609bf347e |
name: Locker - Lock stale issues and PRs\non:\n schedule:\n - cron: '37 8 * * *' # Once per day, early morning PT\n\n workflow_dispatch:\n # Manual triggering through the GitHub UI, API, or CLI\n inputs:\n daysSinceClose:\n required: true\n default: "30"\n daysSinceUpdate:\n required: true\n default: "30"\n\npermissions:\n issues: write\n pull-requests: write\n\njobs:\n main:\n runs-on: ubuntu-latest\n if: ${{ github.repository_owner == 'dotnet' }}\n steps:\n - name: Checkout Actions\n uses: actions/checkout@v4\n with:\n repository: "microsoft/vscode-github-triage-actions"\n path: ./actions\n ref: 066bee9cefa6f0b4bf306040ff36fc7d96a6d56d # locker action commit sha\n - name: Install Actions\n run: npm install --production --prefix ./actions\n - name: Run Locker\n uses: ./actions/locker\n with:\n daysSinceClose: ${{ fromJson(inputs.daysSinceClose || 30) }}\n daysSinceUpdate: ${{ fromJson(inputs.daysSinceUpdate || 30) }}\n | dataset_sample\yaml\dotnet_runtime\.github\workflows\locker.yml | locker.yml | YAML | 1,054 | 0.95 | 0.027027 | 0.029412 | python-kit | 982 | 2024-10-20T18:17:43.905723 | MIT | false | d3c78270b38a0bb73fa4ce627210e96d |
name: Markdownlint\n\npermissions:\n contents: read\n\non:\n pull_request:\n paths:\n - "**/*.md"\n - ".markdownlint.json"\n - ".github/workflows/markdownlint.yml"\n - ".github/workflows/markdownlint-problem-matcher.json"\n\njobs:\n lint:\n\n runs-on: ubuntu-latest\n\n steps:\n - uses: actions/checkout@v4\n - name: Use Node.js\n uses: actions/setup-node@v4\n with:\n node-version: 20.x\n - name: Run Markdownlint\n run: |\n echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"\n npm i -g markdownlint-cli\n markdownlint "**/*.md"\n | dataset_sample\yaml\dotnet_runtime\.github\workflows\markdownlint.yml | markdownlint.yml | YAML | 609 | 0.8 | 0 | 0 | awesome-app | 399 | 2024-05-29T14:48:37.947819 | Apache-2.0 | false | 6f91b858edb78facf0814b69d5a8979b |
# https://docs.codecov.io/docs/codecov-yaml\n# https://github.com/codecov/support/wiki/Codecov-Yaml\n\ncodecov:\n ci:\n - dnceng.visualstudio.com\n\ncoverage:\n status:\n project:\n default: false\n patch:\n default: false\n\ncomment:\n layout: "reach, diff, files"\n require_changes: yes | dataset_sample\yaml\dotnet_runtime\eng\codecov.yml | codecov.yml | YAML | 295 | 0.95 | 0 | 0.142857 | python-kit | 504 | 2024-04-13T00:56:38.884125 | GPL-3.0 | false | 493ad53e244bc5c27efe9cf64a5d1ed9 |
parameters:\n# Job schema parameters - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job\n cancelTimeoutInMinutes: ''\n condition: ''\n container: ''\n continueOnError: false\n dependsOn: ''\n displayName: ''\n pool: ''\n steps: []\n strategy: ''\n timeoutInMinutes: ''\n variables: []\n workspace: ''\n templateContext: {}\n\n# Job base template specific parameters\n # See schema documentation - https://github.com/dotnet/arcade/blob/master/Documentation/AzureDevOps/TemplateSchema.md\n # publishing defaults\n artifacts: ''\n enableMicrobuild: false\n enableMicrobuildForMacAndLinux: false\n enablePublishBuildArtifacts: false\n enablePublishBuildAssets: false\n enablePublishTestResults: false\n enableBuildRetry: false\n mergeTestResults: false\n testRunTitle: ''\n testResultsFormat: ''\n name: ''\n componentGovernanceSteps: []\n preSteps: []\n artifactPublishSteps: []\n runAsPublic: false\n\n# 1es specific parameters\n is1ESPipeline: ''\n\njobs:\n- job: ${{ parameters.name }}\n\n ${{ if ne(parameters.cancelTimeoutInMinutes, '') }}:\n cancelTimeoutInMinutes: ${{ parameters.cancelTimeoutInMinutes }}\n\n ${{ if ne(parameters.condition, '') }}:\n condition: ${{ parameters.condition }}\n\n ${{ if ne(parameters.container, '') }}:\n container: ${{ parameters.container }}\n\n ${{ if ne(parameters.continueOnError, '') }}:\n continueOnError: ${{ parameters.continueOnError }}\n\n ${{ if ne(parameters.dependsOn, '') }}:\n dependsOn: ${{ parameters.dependsOn }}\n\n ${{ if ne(parameters.displayName, '') }}:\n displayName: ${{ parameters.displayName }}\n\n ${{ if ne(parameters.pool, '') }}:\n pool: ${{ parameters.pool }}\n\n ${{ if ne(parameters.strategy, '') }}:\n strategy: ${{ parameters.strategy }}\n\n ${{ if ne(parameters.timeoutInMinutes, '') }}:\n timeoutInMinutes: ${{ parameters.timeoutInMinutes }}\n\n ${{ if ne(parameters.templateContext, '') }}:\n templateContext: ${{ parameters.templateContext }}\n\n variables:\n - ${{ if ne(parameters.enableTelemetry, 'false') }}:\n - name: DOTNET_CLI_TELEMETRY_PROFILE\n value: '$(Build.Repository.Uri)'\n # Retry signature validation up to three times, waiting 2 seconds between attempts.\n # See https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028#retry-untrusted-root-failures\n - name: NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY\n value: 3,2000\n - ${{ each variable in parameters.variables }}:\n # handle name-value variable syntax\n # example:\n # - name: [key]\n # value: [value]\n - ${{ if ne(variable.name, '') }}:\n - name: ${{ variable.name }}\n value: ${{ variable.value }}\n\n # handle variable groups\n - ${{ if ne(variable.group, '') }}:\n - group: ${{ variable.group }}\n\n # handle template variable syntax\n # example:\n # - template: path/to/template.yml\n # parameters:\n # [key]: [value]\n - ${{ if ne(variable.template, '') }}:\n - template: ${{ variable.template }}\n ${{ if ne(variable.parameters, '') }}:\n parameters: ${{ variable.parameters }}\n\n # handle key-value variable syntax.\n # example:\n # - [key]: [value]\n - ${{ if and(eq(variable.name, ''), eq(variable.group, ''), eq(variable.template, '')) }}:\n - ${{ each pair in variable }}:\n - name: ${{ pair.key }}\n value: ${{ pair.value }}\n\n # DotNet-HelixApi-Access provides 'HelixApiAccessToken' for internal builds\n - ${{ if and(eq(parameters.enableTelemetry, 'true'), eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - group: DotNet-HelixApi-Access\n\n ${{ if ne(parameters.workspace, '') }}:\n workspace: ${{ parameters.workspace }}\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if ne(parameters.preSteps, '') }}:\n - ${{ each preStep in parameters.preSteps }}:\n - ${{ preStep }}\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - template: /eng/common/core-templates/steps/install-microbuild.yml\n parameters:\n enableMicrobuild: ${{ parameters.enableMicrobuild }}\n enableMicrobuildForMacAndLinux: ${{ parameters.enableMicrobuildForMacAndLinux }}\n continueOnError: ${{ parameters.continueOnError }}\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), eq(variables['System.TeamProject'], 'internal')) }}:\n - task: NuGetAuthenticate@1\n\n - ${{ if and(ne(parameters.artifacts.download, 'false'), ne(parameters.artifacts.download, '')) }}:\n - task: DownloadPipelineArtifact@2\n inputs:\n buildType: current\n artifactName: ${{ coalesce(parameters.artifacts.download.name, 'Artifacts_$(Agent.OS)_$(_BuildConfig)') }}\n targetPath: ${{ coalesce(parameters.artifacts.download.path, 'artifacts') }}\n itemPattern: ${{ coalesce(parameters.artifacts.download.pattern, '**') }}\n\n - ${{ each step in parameters.steps }}:\n - ${{ step }}\n\n - ${{ each step in parameters.componentGovernanceSteps }}:\n - ${{ step }}\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - template: /eng/common/core-templates/steps/cleanup-microbuild.yml\n parameters:\n enableMicrobuild: ${{ parameters.enableMicrobuild }}\n enableMicrobuildForMacAndLinux: ${{ parameters.enableMicrobuildForMacAndLinux }}\n continueOnError: ${{ parameters.continueOnError }}\n\n # Publish test results\n - ${{ if or(and(eq(parameters.enablePublishTestResults, 'true'), eq(parameters.testResultsFormat, '')), eq(parameters.testResultsFormat, 'xunit')) }}:\n - task: PublishTestResults@2\n displayName: Publish XUnit Test Results\n inputs:\n testResultsFormat: 'xUnit'\n testResultsFiles: '*.xml'\n searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'\n testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-xunit\n mergeTestResults: ${{ parameters.mergeTestResults }}\n continueOnError: true\n condition: always()\n - ${{ if or(and(eq(parameters.enablePublishTestResults, 'true'), eq(parameters.testResultsFormat, '')), eq(parameters.testResultsFormat, 'vstest')) }}:\n - task: PublishTestResults@2\n displayName: Publish TRX Test Results\n inputs:\n testResultsFormat: 'VSTest'\n testResultsFiles: '*.trx'\n searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'\n testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-trx\n mergeTestResults: ${{ parameters.mergeTestResults }}\n continueOnError: true\n condition: always()\n\n # gather artifacts\n - ${{ if ne(parameters.artifacts.publish, '') }}:\n - ${{ if and(ne(parameters.artifacts.publish.artifacts, 'false'), ne(parameters.artifacts.publish.artifacts, '')) }}:\n - task: CopyFiles@2\n displayName: Gather binaries for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/bin'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/bin'\n - task: CopyFiles@2\n displayName: Gather packages for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/packages'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/packages'\n - ${{ if and(ne(parameters.artifacts.publish.logs, 'false'), ne(parameters.artifacts.publish.logs, '')) }}:\n - task: CopyFiles@2\n displayName: Gather logs for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/log'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/log'\n continueOnError: true\n condition: always()\n \n - ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:\n - task: CopyFiles@2\n displayName: Gather logs for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/log/$(_BuildConfig)'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig)'\n continueOnError: true\n condition: always()\n - ${{ if eq(parameters.enableBuildRetry, 'true') }}:\n - task: CopyFiles@2\n displayName: Gather buildconfiguration for build retry\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)/eng/common/BuildConfiguration'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/eng/common/BuildConfiguration'\n continueOnError: true\n condition: always()\n - ${{ each step in parameters.artifactPublishSteps }}:\n - ${{ step }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\job\job.yml | job.yml | YAML | 8,953 | 0.8 | 0.164444 | 0.117949 | react-lib | 428 | 2024-11-28T22:51:49.309012 | GPL-3.0 | false | ddd1cfc3d70c270590cf0452a1d02df5 |
parameters:\n # Optional: dependencies of the job\n dependsOn: ''\n\n # Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool\n pool: ''\n \n CeapexPat: $(dn-bot-ceapex-package-r) # PAT for the loc AzDO instance https://dev.azure.com/ceapex\n GithubPat: $(BotAccount-dotnet-bot-repo-PAT)\n\n SourcesDirectory: $(Build.SourcesDirectory)\n CreatePr: true\n AutoCompletePr: false\n ReusePr: true\n UseLfLineEndings: true\n UseCheckedInLocProjectJson: false\n SkipLocProjectJsonGeneration: false\n LanguageSet: VS_Main_Languages\n LclSource: lclFilesInRepo\n LclPackageId: ''\n RepoType: gitHub\n GitHubOrg: dotnet\n MirrorRepo: ''\n MirrorBranch: main\n condition: ''\n JobNameSuffix: ''\n is1ESPipeline: ''\njobs:\n- job: OneLocBuild${{ parameters.JobNameSuffix }}\n \n dependsOn: ${{ parameters.dependsOn }}\n\n displayName: OneLocBuild${{ parameters.JobNameSuffix }}\n\n variables:\n - group: OneLocBuildVariables # Contains the CeapexPat and GithubPat\n - name: _GenerateLocProjectArguments\n value: -SourcesDirectory ${{ parameters.SourcesDirectory }}\n -LanguageSet "${{ parameters.LanguageSet }}"\n -CreateNeutralXlfs\n - ${{ if eq(parameters.UseCheckedInLocProjectJson, 'true') }}:\n - name: _GenerateLocProjectArguments\n value: ${{ variables._GenerateLocProjectArguments }} -UseCheckedInLocProjectJson\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n ${{ if ne(parameters.pool, '') }}:\n pool: ${{ parameters.pool }}\n ${{ if eq(parameters.pool, '') }}:\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:\n name: $(DncEngInternalBuildPool)\n image: 1es-windows-2022\n os: windows\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if ne(parameters.SkipLocProjectJsonGeneration, 'true') }}:\n - task: Powershell@2\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/generate-locproject.ps1\n arguments: $(_GenerateLocProjectArguments)\n displayName: Generate LocProject.json\n condition: ${{ parameters.condition }}\n\n - task: OneLocBuild@2\n displayName: OneLocBuild\n env:\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n inputs:\n locProj: eng/Localize/LocProject.json\n outDir: $(Build.ArtifactStagingDirectory)\n lclSource: ${{ parameters.LclSource }}\n lclPackageId: ${{ parameters.LclPackageId }}\n isCreatePrSelected: ${{ parameters.CreatePr }}\n isAutoCompletePrSelected: ${{ parameters.AutoCompletePr }}\n ${{ if eq(parameters.CreatePr, true) }}:\n isUseLfLineEndingsSelected: ${{ parameters.UseLfLineEndings }}\n ${{ if eq(parameters.RepoType, 'gitHub') }}:\n isShouldReusePrSelected: ${{ parameters.ReusePr }}\n packageSourceAuth: patAuth\n patVariable: ${{ parameters.CeapexPat }}\n ${{ if eq(parameters.RepoType, 'gitHub') }}:\n repoType: ${{ parameters.RepoType }}\n gitHubPatVariable: "${{ parameters.GithubPat }}"\n ${{ if ne(parameters.MirrorRepo, '') }}:\n isMirrorRepoSelected: true\n gitHubOrganization: ${{ parameters.GitHubOrg }}\n mirrorRepo: ${{ parameters.MirrorRepo }}\n mirrorBranch: ${{ parameters.MirrorBranch }}\n condition: ${{ parameters.condition }}\n\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish Localization Files\n pathToPublish: '$(Build.ArtifactStagingDirectory)/loc'\n publishLocation: Container\n artifactName: Loc\n condition: ${{ parameters.condition }}\n\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish LocProject.json\n pathToPublish: '$(Build.SourcesDirectory)/eng/Localize/'\n publishLocation: Container\n artifactName: Loc\n condition: ${{ parameters.condition }} | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\job\onelocbuild.yml | onelocbuild.yml | YAML | 4,708 | 0.8 | 0.1 | 0.036697 | python-kit | 768 | 2024-03-07T09:03:03.509128 | MIT | false | 00236b556180a527c74a077a61e1a640 |
parameters:\n configuration: 'Debug'\n\n # Optional: condition for the job to run\n condition: ''\n\n # Optional: 'true' if future jobs should run even if this job fails\n continueOnError: false\n\n # Optional: dependencies of the job\n dependsOn: ''\n\n # Optional: Include PublishBuildArtifacts task\n enablePublishBuildArtifacts: false\n\n # Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool\n pool: {}\n\n # Optional: should run as a public build even in the internal project\n # if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.\n runAsPublic: false\n\n # Optional: whether the build's artifacts will be published using release pipelines or direct feed publishing\n publishAssetsImmediately: false\n\n artifactsPublishingAdditionalParameters: ''\n\n signingValidationAdditionalParameters: ''\n\n is1ESPipeline: ''\n\n # Optional: 🌤️ or not the build has assets it wants to publish to BAR\n isAssetlessBuild: false\n\njobs:\n- job: Asset_Registry_Publish\n\n dependsOn: ${{ parameters.dependsOn }}\n timeoutInMinutes: 150\n\n ${{ if eq(parameters.publishAssetsImmediately, 'true') }}:\n displayName: Publish Assets\n ${{ else }}:\n displayName: Publish to Build Asset Registry\n\n variables:\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - group: Publish-Build-Assets\n - group: AzureDevOps-Artifact-Feeds-Pats\n - name: runCodesignValidationInjection\n value: false\n # unconditional - needed for logs publishing (redactor tool version)\n - template: /eng/common/core-templates/post-build/common-variables.yml\n\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:\n name: NetCore1ESPool-Publishing-Internal\n image: windows.vs2019.amd64\n os: windows\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - checkout: self\n fetchDepth: 3\n clean: true\n\n - ${{ if eq(parameters.isAssetlessBuild, 'false') }}: \n - task: DownloadPipelineArtifact@2\n displayName: Download Asset Manifests\n inputs:\n artifactName: AssetManifests\n targetPath: '$(Build.StagingDirectory)/AssetManifests'\n condition: ${{ parameters.condition }}\n continueOnError: ${{ parameters.continueOnError }}\n \n - task: NuGetAuthenticate@1\n\n - task: AzureCLI@2\n displayName: Publish Build Assets\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: ps\n scriptLocation: scriptPath\n scriptPath: $(Build.SourcesDirectory)/eng/common/sdk-task.ps1\n arguments: -task PublishBuildAssets -restore -msbuildEngine dotnet\n /p:ManifestsPath='$(Build.StagingDirectory)/AssetManifests'\n /p:IsAssetlessBuild=${{ parameters.isAssetlessBuild }}\n /p:MaestroApiEndpoint=https://maestro.dot.net\n /p:OfficialBuildId=$(Build.BuildNumber)\n condition: ${{ parameters.condition }}\n continueOnError: ${{ parameters.continueOnError }}\n \n - task: powershell@2\n displayName: Create ReleaseConfigs Artifact\n inputs:\n targetType: inline\n script: |\n New-Item -Path "$(Build.StagingDirectory)/ReleaseConfigs" -ItemType Directory -Force\n $filePath = "$(Build.StagingDirectory)/ReleaseConfigs/ReleaseConfigs.txt"\n Add-Content -Path $filePath -Value $(BARBuildId)\n Add-Content -Path $filePath -Value "$(DefaultChannels)"\n Add-Content -Path $filePath -Value $(IsStableBuild)\n\n $symbolExclusionfile = "$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt"\n if (Test-Path -Path $symbolExclusionfile)\n {\n Write-Host "SymbolExclusionFile exists"\n Copy-Item -Path $symbolExclusionfile -Destination "$(Build.StagingDirectory)/ReleaseConfigs"\n }\n\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish ReleaseConfigs Artifact\n pathToPublish: '$(Build.StagingDirectory)/ReleaseConfigs'\n publishLocation: Container\n artifactName: ReleaseConfigs\n\n - ${{ if or(eq(parameters.publishAssetsImmediately, 'true'), eq(parameters.isAssetlessBuild, 'true')) }}:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: AzureCLI@2\n displayName: Publish Using Darc\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: ps\n scriptLocation: scriptPath\n scriptPath: $(Build.SourcesDirectory)/eng/common/post-build/publish-using-darc.ps1\n arguments: >\n -BuildId $(BARBuildId)\n -PublishingInfraVersion 3\n -AzdoToken '$(System.AccessToken)'\n -WaitPublishingFinish true\n -ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'\n -SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'\n -SkipAssetsPublishing '${{ parameters.isAssetlessBuild }}'\n\n - ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:\n - template: /eng/common/core-templates/steps/publish-logs.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n JobLabel: 'Publish_Artifacts_Logs' \n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\job\publish-build-assets.yml | publish-build-assets.yml | YAML | 6,508 | 0.8 | 0.100629 | 0.090226 | awesome-app | 815 | 2025-01-08T10:00:17.409697 | GPL-3.0 | false | c668a6a98deb846df7550aee3b107d09 |
parameters:\n # This template adds arcade-powered source-build to CI. The template produces a server job with a\n # default ID 'Source_Build_Complete' to put in a dependency list if necessary.\n\n # Specifies the prefix for source-build jobs added to pipeline. Use this if disambiguation needed.\n jobNamePrefix: 'Source_Build'\n\n # Defines the platform on which to run the job. By default, a linux-x64 machine, suitable for\n # managed-only repositories. This is an object with these properties:\n #\n # name: ''\n # The name of the job. This is included in the job ID.\n # targetRID: ''\n # The name of the target RID to use, instead of the one auto-detected by Arcade.\n # portableBuild: false\n # Enables non-portable mode. This means a more specific RID (e.g. fedora.32-x64 rather than\n # linux-x64), and compiling against distro-provided packages rather than portable ones. The\n # default is portable mode.\n # skipPublishValidation: false\n # Disables publishing validation. By default, a check is performed to ensure no packages are\n # published by source-build.\n # container: ''\n # A container to use. Runs in docker.\n # pool: {}\n # A pool to use. Runs directly on an agent.\n # buildScript: ''\n # Specifies the build script to invoke to perform the build in the repo. The default\n # './build.sh' should work for typical Arcade repositories, but this is customizable for\n # difficult situations.\n # jobProperties: {}\n # A list of job properties to inject at the top level, for potential extensibility beyond\n # container and pool.\n platform: {}\n\n is1ESPipeline: ''\n\n # If set to true and running on a non-public project,\n # Internal nuget and blob storage locations will be enabled.\n # This is not enabled by default because many repositories do not need internal sources\n # and do not need to have the required service connections approved in the pipeline.\n enableInternalSources: false\n\njobs:\n- job: ${{ parameters.jobNamePrefix }}_${{ parameters.platform.name }}\n displayName: Source-Build (${{ parameters.platform.name }})\n\n ${{ each property in parameters.platform.jobProperties }}:\n ${{ property.key }}: ${{ property.value }}\n\n ${{ if ne(parameters.platform.container, '') }}:\n container: ${{ parameters.platform.container }}\n\n ${{ if eq(parameters.platform.pool, '') }}:\n # The default VM host AzDO pool. This should be capable of running Docker containers: almost all\n # source-build builds run in Docker, including the default managed platform.\n # /eng/common/core-templates/variables/pool-providers.yml can't be used here (some customers declare variables already), so duplicate its logic\n ${{ if eq(parameters.is1ESPipeline, 'true') }}:\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')]\n demands: ImageOverride -equals build.ubuntu.2004.amd64\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]\n image: 1es-mariner-2\n os: linux\n ${{ else }}:\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')]\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64\n ${{ if ne(parameters.platform.pool, '') }}:\n pool: ${{ parameters.platform.pool }}\n\n workspace:\n clean: all\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if eq(parameters.enableInternalSources, true) }}:\n - template: /eng/common/core-templates/steps/enable-internal-sources.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n - template: /eng/common/core-templates/steps/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n platform: ${{ parameters.platform }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\job\source-build.yml | source-build.yml | YAML | 5,100 | 0.95 | 0.180851 | 0.421687 | react-lib | 976 | 2024-06-12T22:17:45.117413 | Apache-2.0 | false | 61966e84629ff18049da91bad3a5549c |
parameters:\n runAsPublic: false\n sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci"\n preSteps: []\n binlogPath: artifacts/log/Debug/Build.binlog\n condition: ''\n dependsOn: ''\n pool: ''\n is1ESPipeline: ''\n\njobs:\n- job: SourceIndexStage1\n dependsOn: ${{ parameters.dependsOn }}\n condition: ${{ parameters.condition }}\n variables:\n - name: BinlogPath\n value: ${{ parameters.binlogPath }}\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n ${{ if ne(parameters.pool, '') }}:\n pool: ${{ parameters.pool }}\n ${{ if eq(parameters.pool, '') }}:\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: $(DncEngPublicBuildPool)\n image: windows.vs2022.amd64.open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: $(DncEngInternalBuildPool)\n image: windows.vs2022.amd64\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ each preStep in parameters.preSteps }}:\n - ${{ preStep }}\n - script: ${{ parameters.sourceIndexBuildCommand }}\n displayName: Build Repository\n\n - template: /eng/common/core-templates/steps/source-index-stage1-publish.yml\n parameters:\n binLogPath: ${{ parameters.binLogPath }} | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\job\source-index-stage1.yml | source-index-stage1.yml | YAML | 1,538 | 0.7 | 0.116279 | 0 | react-lib | 448 | 2024-08-27T05:49:03.786677 | Apache-2.0 | false | a43af1f566fb242b144d1ef8adbd9b1c |
parameters:\n # See schema documentation in /Documentation/AzureDevOps/TemplateSchema.md\n continueOnError: false\n # Required: A collection of jobs to run - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job\n jobs: []\n # Optional: if specified, restore and use this version of Guardian instead of the default.\n overrideGuardianVersion: ''\n is1ESPipeline: ''\n\njobs:\n- template: /eng/common/core-templates/jobs/jobs.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n enableMicrobuild: false\n enablePublishBuildArtifacts: false\n enablePublishTestResults: false\n enablePublishBuildAssets: false\n enableTelemetry: true\n\n variables:\n - group: Publish-Build-Assets\n # The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in\n # sync with the packages.config file.\n - name: DefaultGuardianVersion\n value: 0.109.0\n - name: GuardianPackagesConfigFile\n value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config\n - name: GuardianVersion\n value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }}\n \n jobs: ${{ parameters.jobs }}\n \n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\jobs\codeql-build.yml | codeql-build.yml | YAML | 1,239 | 0.8 | 0.03125 | 0.178571 | node-utils | 211 | 2024-01-19T09:19:51.956050 | Apache-2.0 | false | b6cf98a749b555847cb1f1cc08db7b60 |
parameters:\n # See schema documentation in /Documentation/AzureDevOps/TemplateSchema.md\n continueOnError: false\n\n # Optional: Include PublishBuildArtifacts task\n enablePublishBuildArtifacts: false\n\n # Optional: Enable running the source-build jobs to build repo from source\n enableSourceBuild: false\n\n # Optional: Parameters for source-build template.\n # See /eng/common/core-templates/jobs/source-build.yml for options\n sourceBuildParameters: []\n\n graphFileGeneration:\n # Optional: Enable generating the graph files at the end of the build\n enabled: false\n # Optional: Include toolset dependencies in the generated graph files\n includeToolset: false\n \n # Required: A collection of jobs to run - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job\n jobs: []\n\n # Optional: Override automatically derived dependsOn value for "publish build assets" job\n publishBuildAssetsDependsOn: ''\n\n # Optional: Publish the assets as soon as the publish to BAR stage is complete, rather doing so in a separate stage.\n publishAssetsImmediately: false\n\n # Optional: 🌤️ or not the build has assets it wants to publish to BAR\n isAssetlessBuild: false\n\n # Optional: If using publishAssetsImmediately and additional parameters are needed, can be used to send along additional parameters (normally sent to post-build.yml)\n artifactsPublishingAdditionalParameters: ''\n signingValidationAdditionalParameters: ''\n\n # Optional: should run as a public build even in the internal project\n # if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.\n runAsPublic: false\n\n enableSourceIndex: false\n sourceIndexParams: {}\n\n artifacts: {}\n is1ESPipeline: ''\n\n# Internal resources (telemetry, microbuild) can only be accessed from non-public projects,\n# and some (Microbuild) should only be applied to non-PR cases for internal builds.\n\njobs:\n- ${{ each job in parameters.jobs }}:\n - ${{ if eq(parameters.is1ESPipeline, 'true') }}:\n - template: /eng/common/templates-official/job/job.yml\n parameters: \n # pass along parameters\n ${{ each parameter in parameters }}:\n ${{ if ne(parameter.key, 'jobs') }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n # pass along job properties\n ${{ each property in job }}:\n ${{ if ne(property.key, 'job') }}:\n ${{ property.key }}: ${{ property.value }}\n\n name: ${{ job.job }}\n\n - ${{ else }}:\n - template: /eng/common/templates/job/job.yml\n parameters: \n # pass along parameters\n ${{ each parameter in parameters }}:\n ${{ if ne(parameter.key, 'jobs') }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n # pass along job properties\n ${{ each property in job }}:\n ${{ if ne(property.key, 'job') }}:\n ${{ property.key }}: ${{ property.value }}\n\n name: ${{ job.job }}\n\n- ${{ if eq(parameters.enableSourceBuild, true) }}:\n - template: /eng/common/core-templates/jobs/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n allCompletedJobId: Source_Build_Complete\n ${{ each parameter in parameters.sourceBuildParameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n- ${{ if eq(parameters.enableSourceIndex, 'true') }}:\n - template: ../job/source-index-stage1.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n runAsPublic: ${{ parameters.runAsPublic }}\n ${{ each parameter in parameters.sourceIndexParams }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - ${{ if or(eq(parameters.enablePublishBuildAssets, true), eq(parameters.artifacts.publish.manifests, 'true'), ne(parameters.artifacts.publish.manifests, '')) }}:\n - template: ../job/publish-build-assets.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n continueOnError: ${{ parameters.continueOnError }}\n dependsOn:\n - ${{ if ne(parameters.publishBuildAssetsDependsOn, '') }}:\n - ${{ each job in parameters.publishBuildAssetsDependsOn }}:\n - ${{ job.job }}\n - ${{ if eq(parameters.publishBuildAssetsDependsOn, '') }}:\n - ${{ each job in parameters.jobs }}:\n - ${{ job.job }}\n - ${{ if eq(parameters.enableSourceBuild, true) }}:\n - Source_Build_Complete\n\n runAsPublic: ${{ parameters.runAsPublic }}\n publishAssetsImmediately: ${{ parameters.publishAssetsImmediately }}\n isAssetlessBuild: ${{ parameters.isAssetlessBuild }}\n enablePublishBuildArtifacts: ${{ parameters.enablePublishBuildArtifacts }}\n artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}\n signingValidationAdditionalParameters: ${{ parameters.signingValidationAdditionalParameters }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\jobs\jobs.yml | jobs.yml | YAML | 5,083 | 0.8 | 0.151261 | 0.208333 | vue-tools | 442 | 2023-08-13T13:09:02.776696 | Apache-2.0 | false | 23eb85ccff25c7b928e745858f3428bc |
parameters:\n # This template adds arcade-powered source-build to CI. A job is created for each platform, as\n # well as an optional server job that completes when all platform jobs complete.\n\n # The name of the "join" job for all source-build platforms. If set to empty string, the job is\n # not included. Existing repo pipelines can use this job depend on all source-build jobs\n # completing without maintaining a separate list of every single job ID: just depend on this one\n # server job. By default, not included. Recommended name if used: 'Source_Build_Complete'.\n allCompletedJobId: ''\n\n # See /eng/common/core-templates/job/source-build.yml\n jobNamePrefix: 'Source_Build'\n\n # This is the default platform provided by Arcade, intended for use by a managed-only repo.\n defaultManagedPlatform:\n name: 'Managed'\n container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'\n\n # Defines the platforms on which to run build jobs. One job is created for each platform, and the\n # object in this array is sent to the job template as 'platform'. If no platforms are specified,\n # one job runs on 'defaultManagedPlatform'.\n platforms: []\n\n is1ESPipeline: ''\n\n # If set to true and running on a non-public project,\n # Internal nuget and blob storage locations will be enabled.\n # This is not enabled by default because many repositories do not need internal sources\n # and do not need to have the required service connections approved in the pipeline.\n enableInternalSources: false\n\njobs:\n\n- ${{ if ne(parameters.allCompletedJobId, '') }}:\n - job: ${{ parameters.allCompletedJobId }}\n displayName: Source-Build Complete\n pool: server\n dependsOn:\n - ${{ each platform in parameters.platforms }}:\n - ${{ parameters.jobNamePrefix }}_${{ platform.name }}\n - ${{ if eq(length(parameters.platforms), 0) }}:\n - ${{ parameters.jobNamePrefix }}_${{ parameters.defaultManagedPlatform.name }}\n\n- ${{ each platform in parameters.platforms }}:\n - template: /eng/common/core-templates/job/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobNamePrefix: ${{ parameters.jobNamePrefix }}\n platform: ${{ platform }}\n enableInternalSources: ${{ parameters.enableInternalSources }}\n\n- ${{ if eq(length(parameters.platforms), 0) }}:\n - template: /eng/common/core-templates/job/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobNamePrefix: ${{ parameters.jobNamePrefix }}\n platform: ${{ parameters.defaultManagedPlatform }}\n enableInternalSources: ${{ parameters.enableInternalSources }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\jobs\source-build.yml | source-build.yml | YAML | 2,635 | 0.95 | 0.137931 | 0.3125 | vue-tools | 613 | 2025-02-23T06:29:39.078716 | Apache-2.0 | false | 9c96bdf99d1f3a016793532bcaf1cb89 |
variables:\n - group: Publish-Build-Assets\n\n # Whether the build is internal or not\n - name: IsInternalBuild\n value: ${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }}\n\n # Default Maestro++ API Endpoint and API Version\n - name: MaestroApiEndPoint\n value: "https://maestro.dot.net"\n - name: MaestroApiVersion\n value: "2020-02-20"\n\n - name: SourceLinkCLIVersion\n value: 3.0.0\n - name: SymbolToolVersion\n value: 1.0.1\n - name: BinlogToolVersion\n value: 1.0.11\n\n - name: runCodesignValidationInjection\n value: false\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\post-build\common-variables.yml | common-variables.yml | YAML | 604 | 0.8 | 0 | 0.111111 | react-lib | 24 | 2025-04-21T04:09:08.795219 | Apache-2.0 | false | 8b9bb496920dd1aae684dc79d183e278 |
parameters:\n # Which publishing infra should be used. THIS SHOULD MATCH THE VERSION ON THE BUILD MANIFEST.\n # Publishing V1 is no longer supported\n # Publishing V2 is no longer supported\n # Publishing V3 is the default\n - name: publishingInfraVersion\n displayName: Which version of publishing should be used to promote the build definition?\n type: number\n default: 3\n values:\n - 3\n\n - name: BARBuildId\n displayName: BAR Build Id\n type: number\n default: 0\n\n - name: PromoteToChannelIds\n displayName: Channel to promote BARBuildId to\n type: string\n default: ''\n\n - name: enableSourceLinkValidation\n displayName: Enable SourceLink validation\n type: boolean\n default: false\n\n - name: enableSigningValidation\n displayName: Enable signing validation\n type: boolean\n default: true\n\n - name: enableSymbolValidation\n displayName: Enable symbol validation\n type: boolean\n default: false\n\n - name: enableNugetValidation\n displayName: Enable NuGet validation\n type: boolean\n default: true\n \n - name: publishInstallersAndChecksums\n displayName: Publish installers and checksums\n type: boolean\n default: true\n \n - name: requireDefaultChannels\n displayName: Fail the build if there are no default channel(s) registrations for the current build\n type: boolean\n default: false\n\n - name: SDLValidationParameters\n type: object\n default:\n enable: false\n publishGdn: false\n continueOnError: false\n params: ''\n artifactNames: ''\n downloadArtifacts: true\n\n - name: isAssetlessBuild\n type: boolean\n displayName: Is Assetless Build\n default: false\n\n # These parameters let the user customize the call to sdk-task.ps1 for publishing\n # symbols & general artifacts as well as for signing validation\n - name: symbolPublishingAdditionalParameters\n displayName: Symbol publishing additional parameters\n type: string\n default: ''\n\n - name: artifactsPublishingAdditionalParameters\n displayName: Artifact publishing additional parameters\n type: string\n default: ''\n\n - name: signingValidationAdditionalParameters\n displayName: Signing validation additional parameters\n type: string\n default: ''\n\n # Which stages should finish execution before post-build stages start\n - name: validateDependsOn\n type: object\n default:\n - build\n\n - name: publishDependsOn\n type: object\n default:\n - Validate\n\n # Optional: Call asset publishing rather than running in a separate stage\n - name: publishAssetsImmediately\n type: boolean\n default: false\n\n - name: is1ESPipeline\n type: boolean\n default: false\n\nstages:\n- ${{ if or(eq( parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true'), eq(parameters.SDLValidationParameters.enable, 'true')) }}:\n - stage: Validate\n dependsOn: ${{ parameters.validateDependsOn }}\n displayName: Validate Build Assets\n variables:\n - template: /eng/common/core-templates/post-build/common-variables.yml\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobs:\n - job:\n displayName: NuGet Validation\n condition: and(succeededOrFailed(), eq( ${{ parameters.enableNugetValidation }}, 'true'))\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}:\n name: $(DncEngInternalBuildPool)\n image: windows.vs2022.amd64\n os: windows\n ${{ else }}:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals windows.vs2022.amd64\n\n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: DownloadBuildArtifacts@0\n displayName: Download Package Artifacts\n inputs:\n buildType: specific\n buildVersionToDownload: specific\n project: $(AzDOProjectName)\n pipeline: $(AzDOPipelineId)\n buildId: $(AzDOBuildId)\n artifactName: PackageArtifacts\n checkDownloadedFiles: true\n\n - task: PowerShell@2\n displayName: Validate\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/post-build/nuget-validation.ps1\n arguments: -PackagesPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/\n\n - job:\n displayName: Signing Validation\n condition: and( eq( ${{ parameters.enableSigningValidation }}, 'true'), ne( variables['PostBuildSign'], 'true'))\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}: \n name: $(DncEngInternalBuildPool)\n image: 1es-windows-2022\n os: windows\n ${{ else }}:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals windows.vs2022.amd64 \n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: DownloadBuildArtifacts@0\n displayName: Download Package Artifacts\n inputs:\n buildType: specific\n buildVersionToDownload: specific\n project: $(AzDOProjectName)\n pipeline: $(AzDOPipelineId)\n buildId: $(AzDOBuildId)\n artifactName: PackageArtifacts\n checkDownloadedFiles: true\n itemPattern: |\n **\n !**/Microsoft.SourceBuild.Intermediate.*.nupkg\n\n # This is necessary whenever we want to publish/restore to an AzDO private feed\n # Since sdk-task.ps1 tries to restore packages we need to do this authentication here\n # otherwise it'll complain about accessing a private feed.\n - task: NuGetAuthenticate@1\n displayName: 'Authenticate to AzDO Feeds'\n\n # Signing validation will optionally work with the buildmanifest file which is downloaded from\n # Azure DevOps above.\n - task: PowerShell@2\n displayName: Validate\n inputs:\n filePath: eng\common\sdk-task.ps1\n arguments: -task SigningValidation -restore -msbuildEngine vs\n /p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts'\n /p:SignCheckExclusionsFile='$(Build.SourcesDirectory)/eng/SignCheckExclusionsFile.txt'\n ${{ parameters.signingValidationAdditionalParameters }}\n\n - template: /eng/common/core-templates/steps/publish-logs.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n StageLabel: 'Validation'\n JobLabel: 'Signing'\n BinlogToolVersion: $(BinlogToolVersion)\n\n - job:\n displayName: SourceLink Validation\n condition: eq( ${{ parameters.enableSourceLinkValidation }}, 'true')\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}: \n name: $(DncEngInternalBuildPool)\n image: 1es-windows-2022\n os: windows\n ${{ else }}:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals windows.vs2022.amd64 \n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: DownloadBuildArtifacts@0\n displayName: Download Blob Artifacts\n inputs:\n buildType: specific\n buildVersionToDownload: specific\n project: $(AzDOProjectName)\n pipeline: $(AzDOPipelineId)\n buildId: $(AzDOBuildId)\n artifactName: BlobArtifacts\n checkDownloadedFiles: true\n\n - task: PowerShell@2\n displayName: Validate\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/post-build/sourcelink-validation.ps1\n arguments: -InputPath $(Build.ArtifactStagingDirectory)/BlobArtifacts/ \n -ExtractPath $(Agent.BuildDirectory)/Extract/ \n -GHRepoName $(Build.Repository.Name) \n -GHCommit $(Build.SourceVersion)\n -SourcelinkCliVersion $(SourceLinkCLIVersion)\n continueOnError: true\n\n- ${{ if ne(parameters.publishAssetsImmediately, 'true') }}:\n - stage: publish_using_darc\n ${{ if or(eq(parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true'), eq(parameters.SDLValidationParameters.enable, 'true')) }}:\n dependsOn: ${{ parameters.publishDependsOn }}\n ${{ else }}:\n dependsOn: ${{ parameters.validateDependsOn }}\n displayName: Publish using Darc\n variables:\n - template: /eng/common/core-templates/post-build/common-variables.yml\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobs:\n - job:\n displayName: Publish Using Darc\n timeoutInMinutes: 120\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}: \n name: NetCore1ESPool-Publishing-Internal\n image: windows.vs2019.amd64\n os: windows\n ${{ else }}:\n name: NetCore1ESPool-Publishing-Internal\n demands: ImageOverride -equals windows.vs2019.amd64 \n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: NuGetAuthenticate@1\n\n - task: AzureCLI@2\n displayName: Publish Using Darc\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: ps\n scriptLocation: scriptPath\n scriptPath: $(Build.SourcesDirectory)/eng/common/post-build/publish-using-darc.ps1\n arguments: >\n -BuildId $(BARBuildId)\n -PublishingInfraVersion ${{ parameters.publishingInfraVersion }}\n -AzdoToken '$(System.AccessToken)'\n -WaitPublishingFinish true\n -RequireDefaultChannels ${{ parameters.requireDefaultChannels }}\n -ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'\n -SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'\n -SkipAssetsPublishing '${{ parameters.isAssetlessBuild }}'\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\post-build\post-build.yml | post-build.yml | YAML | 12,574 | 0.95 | 0.045732 | 0.074324 | vue-tools | 874 | 2025-03-28T23:55:25.654016 | MIT | false | f91a35755d5ba27155a54a2ddb9b5afe |
parameters:\n BARBuildId: ''\n PromoteToChannelIds: ''\n is1ESPipeline: ''\n\nsteps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if eq(coalesce(parameters.PromoteToChannelIds, 0), 0) }}:\n - task: DownloadBuildArtifacts@0\n displayName: Download Release Configs\n inputs:\n buildType: current\n artifactName: ReleaseConfigs\n checkDownloadedFiles: true\n\n - task: AzureCLI@2\n name: setReleaseVars\n displayName: Set Release Configs Vars\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: pscore\n scriptLocation: inlineScript\n inlineScript: |\n try {\n if (!$Env:PromoteToMaestroChannels -or $Env:PromoteToMaestroChannels.Trim() -eq '') {\n $Content = Get-Content $(Build.StagingDirectory)/ReleaseConfigs/ReleaseConfigs.txt\n\n $BarId = $Content | Select -Index 0\n $Channels = $Content | Select -Index 1\n $IsStableBuild = $Content | Select -Index 2\n\n $AzureDevOpsProject = $Env:System_TeamProject\n $AzureDevOpsBuildDefinitionId = $Env:System_DefinitionId\n $AzureDevOpsBuildId = $Env:Build_BuildId\n }\n else {\n . $(Build.SourcesDirectory)\eng\common\tools.ps1\n $darc = Get-Darc\n $buildInfo = & $darc get-build `\n --id ${{ parameters.BARBuildId }} `\n --extended `\n --output-format json `\n --ci `\n | convertFrom-Json\n\n $BarId = ${{ parameters.BARBuildId }}\n $Channels = $Env:PromoteToMaestroChannels -split ","\n $Channels = $Channels -join "]["\n $Channels = "[$Channels]"\n\n $IsStableBuild = $buildInfo.stable\n $AzureDevOpsProject = $buildInfo.azureDevOpsProject\n $AzureDevOpsBuildDefinitionId = $buildInfo.azureDevOpsBuildDefinitionId\n $AzureDevOpsBuildId = $buildInfo.azureDevOpsBuildId\n }\n\n Write-Host "##vso[task.setvariable variable=BARBuildId]$BarId"\n Write-Host "##vso[task.setvariable variable=TargetChannels]$Channels"\n Write-Host "##vso[task.setvariable variable=IsStableBuild]$IsStableBuild"\n\n Write-Host "##vso[task.setvariable variable=AzDOProjectName]$AzureDevOpsProject"\n Write-Host "##vso[task.setvariable variable=AzDOPipelineId]$AzureDevOpsBuildDefinitionId"\n Write-Host "##vso[task.setvariable variable=AzDOBuildId]$AzureDevOpsBuildId"\n }\n catch {\n Write-Host $_\n Write-Host $_.Exception\n Write-Host $_.ScriptStackTrace\n exit 1\n }\n env:\n PromoteToMaestroChannels: ${{ parameters.PromoteToChannelIds }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\post-build\setup-maestro-vars.yml | setup-maestro-vars.yml | YAML | 2,868 | 0.8 | 0.067568 | 0 | vue-tools | 574 | 2025-04-15T18:45:33.617076 | BSD-3-Clause | false | 0099b2f442b8c6334fcba40a65c22499 |
parameters:\n # Enable cleanup tasks for MicroBuild\n enableMicrobuild: false\n # Enable cleanup tasks for MicroBuild on Mac and Linux\n # Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT'\n enableMicrobuildForMacAndLinux: false\n continueOnError: false\n\nsteps:\n - ${{ if eq(parameters.enableMicrobuild, 'true') }}:\n - task: MicroBuildCleanup@1\n displayName: Execute Microbuild cleanup tasks\n condition: and(\n always(),\n or(\n and(\n eq(variables['Agent.Os'], 'Windows_NT'),\n in(variables['_SignType'], 'real', 'test')\n ),\n and(\n ${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }},\n ne(variables['Agent.Os'], 'Windows_NT'),\n eq(variables['_SignType'], 'real')\n )\n ))\n continueOnError: ${{ parameters.continueOnError }}\n env:\n TeamName: $(_TeamName)\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\cleanup-microbuild.yml | cleanup-microbuild.yml | YAML | 925 | 0.8 | 0.142857 | 0.111111 | react-lib | 791 | 2023-09-18T19:18:34.049338 | BSD-3-Clause | false | b2222299726a304c83a322ba596ce2e4 |
parameters:\n disableComponentGovernance: false\n componentGovernanceIgnoreDirectories: ''\n is1ESPipeline: false\n displayName: 'Component Detection'\n\nsteps:\n- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:\n - script: echo "##vso[task.setvariable variable=skipComponentGovernanceDetection]true"\n displayName: Set skipComponentGovernanceDetection variable\n- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:\n - task: ComponentGovernanceComponentDetection@0\n continueOnError: true\n displayName: ${{ parameters.displayName }}\n inputs:\n ignoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\component-governance.yml | component-governance.yml | YAML | 652 | 0.8 | 0.125 | 0 | python-kit | 270 | 2025-03-20T02:44:39.498209 | GPL-3.0 | false | 06f41b6f24d1e47fa0c51d41a968fcbe |
# Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64'\n# variable with the base64-encoded SAS token, by default\n\nparameters:\n- name: federatedServiceConnection\n type: string\n default: 'dotnetbuilds-internal-read'\n- name: outputVariableName\n type: string\n default: 'dotnetbuilds-internal-container-read-token-base64'\n- name: expiryInHours\n type: number\n default: 1\n- name: base64Encode\n type: boolean\n default: true\n- name: is1ESPipeline\n type: boolean\n default: false\n\nsteps:\n- ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - template: /eng/common/core-templates/steps/get-delegation-sas.yml\n parameters:\n federatedServiceConnection: ${{ parameters.federatedServiceConnection }}\n outputVariableName: ${{ parameters.outputVariableName }}\n expiryInHours: ${{ parameters.expiryInHours }}\n base64Encode: ${{ parameters.base64Encode }}\n storageAccount: dotnetbuilds\n container: internal\n permissions: rl\n is1ESPipeline: ${{ parameters.is1ESPipeline }} | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\enable-internal-runtimes.yml | enable-internal-runtimes.yml | YAML | 1,075 | 0.8 | 0.032258 | 0.066667 | python-kit | 499 | 2024-06-19T05:18:07.415812 | Apache-2.0 | false | 15820aecac21e41d8fe8ae33b7869e75 |
parameters:\n# This is the Azure federated service connection that we log into to get an access token.\n- name: nugetFederatedServiceConnection\n type: string\n default: 'dnceng-artifacts-feeds-read'\n- name: is1ESPipeline\n type: boolean\n default: false\n# Legacy parameters to allow for PAT usage\n- name: legacyCredential\n type: string\n default: ''\n\nsteps:\n- ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - ${{ if ne(parameters.legacyCredential, '') }}:\n - task: PowerShell@2\n displayName: Setup Internal Feeds\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1\n arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token\n env:\n Token: ${{ parameters.legacyCredential }}\n # If running on dnceng (internal project), just use the default behavior for NuGetAuthenticate.\n # If running on DevDiv, NuGetAuthenticate is not really an option. It's scoped to a single feed, and we have many feeds that\n # may be added. Instead, we'll use the traditional approach (add cred to nuget.config), but use an account token.\n - ${{ else }}:\n - ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n - task: PowerShell@2\n displayName: Setup Internal Feeds\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1\n arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config\n - ${{ else }}:\n - template: /eng/common/templates/steps/get-federated-access-token.yml\n parameters:\n federatedServiceConnection: ${{ parameters.nugetFederatedServiceConnection }}\n outputVariableName: 'dnceng-artifacts-feeds-read-access-token'\n - task: PowerShell@2\n displayName: Setup Internal Feeds\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1\n arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $(dnceng-artifacts-feeds-read-access-token)\n # This is required in certain scenarios to install the ADO credential provider.\n # It installed by default in some msbuild invocations (e.g. VS msbuild), but needs to be installed for others\n # (e.g. dotnet msbuild).\n - task: NuGetAuthenticate@1\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\enable-internal-sources.yml | enable-internal-sources.yml | YAML | 2,253 | 0.95 | 0.12766 | 0.173913 | vue-tools | 600 | 2023-08-02T17:22:47.468650 | BSD-3-Clause | false | 883470ba4d15bc9f92df66a9b8de2a94 |
# BuildDropPath - The root folder of the drop directory for which the manifest file will be generated.\n# PackageName - The name of the package this SBOM represents.\n# PackageVersion - The version of the package this SBOM represents. \n# ManifestDirPath - The path of the directory where the generated manifest files will be placed\n# IgnoreDirectories - Directories to ignore for SBOM generation. This will be passed through to the CG component detector.\n\nparameters:\n PackageVersion: 10.0.0\n BuildDropPath: '$(Build.SourcesDirectory)/artifacts'\n PackageName: '.NET'\n ManifestDirPath: $(Build.ArtifactStagingDirectory)/sbom\n IgnoreDirectories: ''\n sbomContinueOnError: true\n is1ESPipeline: false\n # disable publishArtifacts if some other step is publishing the artifacts (like job.yml).\n publishArtifacts: true\n\nsteps:\n- task: PowerShell@2 \n displayName: Prep for SBOM generation in (Non-linux)\n condition: or(eq(variables['Agent.Os'], 'Windows_NT'), eq(variables['Agent.Os'], 'Darwin'))\n inputs: \n filePath: ./eng/common/generate-sbom-prep.ps1\n arguments: ${{parameters.manifestDirPath}}\n\n# Chmodding is a workaround for https://github.com/dotnet/arcade/issues/8461\n- script: |\n chmod +x ./eng/common/generate-sbom-prep.sh\n ./eng/common/generate-sbom-prep.sh ${{parameters.manifestDirPath}}\n displayName: Prep for SBOM generation in (Linux)\n condition: eq(variables['Agent.Os'], 'Linux')\n continueOnError: ${{ parameters.sbomContinueOnError }}\n\n- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0\n displayName: 'Generate SBOM manifest'\n continueOnError: ${{ parameters.sbomContinueOnError }}\n inputs:\n PackageName: ${{ parameters.packageName }}\n BuildDropPath: ${{ parameters.buildDropPath }}\n PackageVersion: ${{ parameters.packageVersion }}\n ManifestDirPath: ${{ parameters.manifestDirPath }}/$(ARTIFACT_NAME)\n ${{ if ne(parameters.IgnoreDirectories, '') }}:\n AdditionalComponentDetectorArgs: '--IgnoreDirectories ${{ parameters.IgnoreDirectories }}'\n\n- ${{ if eq(parameters.publishArtifacts, 'true')}}:\n - template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish SBOM manifest\n continueOnError: ${{parameters.sbomContinueOnError}}\n targetPath: '${{ parameters.manifestDirPath }}'\n artifactName: $(ARTIFACT_NAME)\n\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\generate-sbom.yml | generate-sbom.yml | YAML | 2,469 | 0.8 | 0.148148 | 0.145833 | vue-tools | 886 | 2024-05-05T00:34:52.415407 | GPL-3.0 | false | dbbac2a8f4bdded9ffb1db449628226f |
parameters:\n- name: federatedServiceConnection\n type: string\n- name: outputVariableName\n type: string\n- name: expiryInHours\n type: number\n default: 1\n- name: base64Encode\n type: boolean\n default: false\n- name: storageAccount\n type: string\n- name: container\n type: string\n- name: permissions\n type: string\n default: 'rl'\n- name: is1ESPipeline\n type: boolean\n default: false\n\nsteps:\n- task: AzureCLI@2\n displayName: 'Generate delegation SAS Token for ${{ parameters.storageAccount }}/${{ parameters.container }}'\n inputs:\n azureSubscription: ${{ parameters.federatedServiceConnection }}\n scriptType: 'pscore'\n scriptLocation: 'inlineScript'\n inlineScript: |\n # Calculate the expiration of the SAS token and convert to UTC\n $expiry = (Get-Date).AddHours(${{ parameters.expiryInHours }}).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")\n\n $sas = az storage container generate-sas --account-name ${{ parameters.storageAccount }} --name ${{ parameters.container }} --permissions ${{ parameters.permissions }} --expiry $expiry --auth-mode login --as-user -o tsv\n\n if ($LASTEXITCODE -ne 0) {\n Write-Error "Failed to generate SAS token."\n exit 1\n }\n\n if ('${{ parameters.base64Encode }}' -eq 'true') {\n $sas = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($sas))\n }\n\n Write-Host "Setting '${{ parameters.outputVariableName }}' with the access token value"\n Write-Host "##vso[task.setvariable variable=${{ parameters.outputVariableName }};issecret=true]$sas"\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\get-delegation-sas.yml | get-delegation-sas.yml | YAML | 1,561 | 0.8 | 0.065217 | 0.02439 | awesome-app | 417 | 2024-10-07T00:11:27.132313 | BSD-3-Clause | false | d5663dcacce1bc0f465949c2216227b3 |
parameters:\n- name: federatedServiceConnection\n type: string\n- name: outputVariableName\n type: string\n- name: is1ESPipeline\n type: boolean\n- name: stepName\n type: string\n default: 'getFederatedAccessToken'\n- name: condition\n type: string\n default: ''\n# Resource to get a token for. Common values include:\n# - '499b84ac-1321-427f-aa17-267ca6975798' for Azure DevOps\n# - 'https://storage.azure.com/' for storage\n# Defaults to Azure DevOps\n- name: resource\n type: string\n default: '499b84ac-1321-427f-aa17-267ca6975798'\n- name: isStepOutputVariable\n type: boolean\n default: false\n\nsteps:\n- task: AzureCLI@2\n displayName: 'Getting federated access token for feeds'\n name: ${{ parameters.stepName }}\n ${{ if ne(parameters.condition, '') }}:\n condition: ${{ parameters.condition }}\n inputs:\n azureSubscription: ${{ parameters.federatedServiceConnection }}\n scriptType: 'pscore'\n scriptLocation: 'inlineScript'\n inlineScript: |\n $accessToken = az account get-access-token --query accessToken --resource ${{ parameters.resource }} --output tsv\n if ($LASTEXITCODE -ne 0) {\n Write-Error "Failed to get access token for resource '${{ parameters.resource }}'"\n exit 1\n }\n Write-Host "Setting '${{ parameters.outputVariableName }}' with the access token value"\n Write-Host "##vso[task.setvariable variable=${{ parameters.outputVariableName }};issecret=true;isOutput=${{ parameters.isStepOutputVariable }}]$accessToken" | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\get-federated-access-token.yml | get-federated-access-token.yml | YAML | 1,474 | 0.8 | 0.170732 | 0.097561 | python-kit | 406 | 2024-07-21T23:24:34.337460 | BSD-3-Clause | false | bf47a20ee8f92b6d1e7c55eba3b6094b |
parameters:\n # Enable install tasks for MicroBuild\n enableMicrobuild: false\n # Enable install tasks for MicroBuild on Mac and Linux\n # Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT'\n enableMicrobuildForMacAndLinux: false\n # Location of the MicroBuild output folder\n microBuildOutputFolder: '$(Build.SourcesDirectory)'\n continueOnError: false\n\nsteps:\n - ${{ if eq(parameters.enableMicrobuild, 'true') }}:\n - ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:\n # Needed to download the MicroBuild plugin nupkgs on Mac and Linux when nuget.exe is unavailable\n - task: UseDotNet@2\n displayName: Install .NET 8.0 SDK for MicroBuild Plugin\n inputs:\n packageType: sdk\n version: 8.0.x\n installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet\n workingDirectory: ${{ parameters.microBuildOutputFolder }}\n condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))\n\n - task: MicroBuildSigningPlugin@4\n displayName: Install MicroBuild plugin\n inputs:\n signType: $(_SignType)\n zipSources: false\n feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json\n ${{ if and(eq(parameters.enableMicrobuildForMacAndLinux, 'true'), ne(variables['Agent.Os'], 'Windows_NT')) }}:\n azureSubscription: 'MicroBuild Signing Task (DevDiv)'\n useEsrpCli: true\n env:\n TeamName: $(_TeamName)\n MicroBuildOutputFolderOverride: ${{ parameters.microBuildOutputFolder }}\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n continueOnError: ${{ parameters.continueOnError }}\n condition: and(\n succeeded(),\n or(\n and(\n eq(variables['Agent.Os'], 'Windows_NT'),\n in(variables['_SignType'], 'real', 'test')\n ),\n and(\n ${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }},\n ne(variables['Agent.Os'], 'Windows_NT'),\n eq(variables['_SignType'], 'real')\n )\n ))\n\n # Workaround for ESRP CLI on Linux - https://github.com/dotnet/source-build/issues/4964\n - ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:\n - task: UseDotNet@2\n displayName: Install .NET 9.0 SDK for ESRP CLI Workaround\n inputs:\n packageType: sdk\n version: 9.0.x\n installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet\n workingDirectory: ${{ parameters.microBuildOutputFolder }}\n condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))\n\n - task: PowerShell@2\n displayName: Workaround for ESRP CLI on Linux\n inputs:\n targetType: 'inline'\n script: |\n Write-Host "Copying Linux Path"\n $MBSIGN_APPFOLDER = '$(MBSIGN_APPFOLDER)'\n $MBSIGN_APPFOLDER = ($MBSIGN_APPFOLDER -replace '/build', '')\n\n $versionRegex = '\d+\.\d+\.\d+'\n $package = Get-ChildItem -Path $MBSIGN_APPFOLDER -Directory |\n Where-Object { $_.Name -match $versionRegex }\n\n if ($package.Count -ne 1) {\n Write-Host "There should be exactly one matching subfolder, but found $($package.Count)."\n exit 1\n }\n\n $MBSIGN_APPFOLDER = $package[0].FullName + '/build'\n $MBSIGN_APPFOLDER | Write-Host\n $SignConfigPath = $MBSIGN_APPFOLDER + '/signconfig.xml'\n Copy-Item -Path "$(MBSIGN_APPFOLDER)/signconfig.xml" -Destination $SignConfigPath -Force\n condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\install-microbuild.yml | install-microbuild.yml | YAML | 3,675 | 0.8 | 0.141176 | 0.076923 | python-kit | 305 | 2025-03-28T21:47:49.534788 | MIT | false | cc8686c0f05a4de1e4110c8ee00fc2dd |
parameters:\n- name: is1ESPipeline\n type: boolean\n default: false\n- name: args\n type: object\n default: {}\nsteps:\n- ${{ if ne(parameters.is1ESPipeline, true) }}:\n - template: /eng/common/templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n ${{ each parameter in parameters.args }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n- ${{ else }}:\n - template: /eng/common/templates-official/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n ${{ each parameter in parameters.args }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\publish-build-artifacts.yml | publish-build-artifacts.yml | YAML | 667 | 0.7 | 0.052632 | 0 | node-utils | 691 | 2024-12-07T03:18:32.490823 | MIT | false | feba684771f230e02a2e3328b94305c9 |
parameters:\n StageLabel: ''\n JobLabel: ''\n CustomSensitiveDataList: ''\n # A default - in case value from eng/common/core-templates/post-build/common-variables.yml is not passed\n BinlogToolVersion: '1.0.11'\n is1ESPipeline: false\n\nsteps:\n- task: Powershell@2\n displayName: Prepare Binlogs to Upload\n inputs:\n targetType: inline\n script: |\n New-Item -ItemType Directory $(Build.SourcesDirectory)/PostBuildLogs/${{parameters.StageLabel}}/${{parameters.JobLabel}}/\n Move-Item -Path $(Build.SourcesDirectory)/artifacts/log/Debug/* $(Build.SourcesDirectory)/PostBuildLogs/${{parameters.StageLabel}}/${{parameters.JobLabel}}/\n continueOnError: true\n condition: always()\n \n- task: PowerShell@2\n displayName: Redact Logs\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/post-build/redact-logs.ps1\n # For now this needs to have explicit list of all sensitive data. Taken from eng/publishing/v3/publish.yml\n # Sensitive data can as well be added to $(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'\n # If the file exists - sensitive data for redaction will be sourced from it\n # (single entry per line, lines starting with '# ' are considered comments and skipped)\n arguments: -InputPath '$(Build.SourcesDirectory)/PostBuildLogs' \n -BinlogToolVersion ${{parameters.BinlogToolVersion}}\n -TokensFilePath '$(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'\n '$(publishing-dnceng-devdiv-code-r-build-re)'\n '$(MaestroAccessToken)'\n '$(dn-bot-all-orgs-artifact-feeds-rw)'\n '$(akams-client-id)'\n '$(microsoft-symbol-server-pat)'\n '$(symweb-symbol-server-pat)'\n '$(dnceng-symbol-server-pat)'\n '$(dn-bot-all-orgs-build-rw-code-rw)'\n '$(System.AccessToken)'\n ${{parameters.CustomSensitiveDataList}}\n continueOnError: true\n condition: always()\n\n- task: CopyFiles@2\n displayName: Gather post build logs\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)/PostBuildLogs'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/PostBuildLogs'\n condition: always()\n\n- template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish Logs\n pathToPublish: '$(Build.ArtifactStagingDirectory)/PostBuildLogs'\n publishLocation: Container\n artifactName: PostBuildLogs\n continueOnError: true\n condition: always()\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\publish-logs.yml | publish-logs.yml | YAML | 2,476 | 0.8 | 0.016393 | 0.087719 | vue-tools | 726 | 2024-04-15T07:16:14.553251 | GPL-3.0 | false | 6413c0bf1115836dd70fdf18e8b51aae |
parameters:\n- name: is1ESPipeline\n type: boolean\n default: false\n\n- name: args\n type: object\n default: {} \n\nsteps:\n- ${{ if ne(parameters.is1ESPipeline, true) }}:\n - template: /eng/common/templates/steps/publish-pipeline-artifacts.yml\n parameters:\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n- ${{ else }}:\n - template: /eng/common/templates-official/steps/publish-pipeline-artifacts.yml\n parameters:\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\publish-pipeline-artifacts.yml | publish-pipeline-artifacts.yml | YAML | 562 | 0.7 | 0.05 | 0 | node-utils | 530 | 2024-12-18T05:08:51.692591 | BSD-3-Clause | false | 570b148d4f7f1bff4bc28cb7813bb7e4 |
parameters:\n # Optional azure devops PAT with build execute permissions for the build's organization,\n # only needed if the build that should be retained ran on a different organization than \n # the pipeline where this template is executing from\n Token: ''\n # Optional BuildId to retain, defaults to the current running build\n BuildId: ''\n # Azure devops Organization URI for the build in the https://dev.azure.com/<organization> format.\n # Defaults to the organization the current pipeline is running on\n AzdoOrgUri: '$(System.CollectionUri)'\n # Azure devops project for the build. Defaults to the project the current pipeline is running on\n AzdoProject: '$(System.TeamProject)'\n\nsteps:\n - task: powershell@2\n inputs:\n targetType: 'filePath'\n filePath: eng/common/retain-build.ps1\n pwsh: true\n arguments: >\n -AzdoOrgUri: ${{parameters.AzdoOrgUri}}\n -AzdoProject ${{parameters.AzdoProject}}\n -Token ${{coalesce(parameters.Token, '$env:SYSTEM_ACCESSTOKEN') }}\n -BuildId ${{coalesce(parameters.BuildId, '$env:BUILD_ID')}}\n displayName: Enable permanent build retention\n env:\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n BUILD_ID: $(Build.BuildId) | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\retain-build.yml | retain-build.yml | YAML | 1,222 | 0.8 | 0.148148 | 0.259259 | vue-tools | 5 | 2025-02-10T12:52:15.049892 | MIT | false | c72408867a31f8ab09d692e0c2221a29 |
# Please remember to update the documentation if you make changes to these parameters!\nparameters:\n HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/\n HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/'\n HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number\n HelixTargetQueues: '' # required -- semicolon-delimited list of Helix queues to test on; see https://helix.dot.net/ for a list of queues\n HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group\n HelixProjectPath: 'eng/common/helixpublish.proj' # optional -- path to the project file to build relative to BUILD_SOURCESDIRECTORY\n HelixProjectArguments: '' # optional -- arguments passed to the build command\n HelixConfiguration: '' # optional -- additional property attached to a job\n HelixPreCommands: '' # optional -- commands to run before Helix work item execution\n HelixPostCommands: '' # optional -- commands to run after Helix work item execution\n WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects\n WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects\n WorkItemTimeout: '' # optional -- a timeout in TimeSpan.Parse-ready value (e.g. 00:02:00) for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects\n CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload\n XUnitProjects: '' # optional -- semicolon-delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true\n XUnitWorkItemTimeout: '' # optional -- the workitem timeout in seconds for all workitems created from the xUnit projects specified by XUnitProjects\n XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects\n XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner\n XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects\n IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion\n DotNetCliPackageType: '' # optional -- either 'sdk', 'runtime' or 'aspnetcore-runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases-index.json\n DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases-index.json\n WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget."\n IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set\n HelixBaseUri: 'https://helix.dot.net/' # optional -- sets the Helix API base URI (allows targeting https://helix.int-dot.net )\n Creator: '' # optional -- if the build is external, use this to specify who is sending the job\n DisplayNamePrefix: 'Run Tests' # optional -- rename the beginning of the displayName of the steps in AzDO \n condition: succeeded() # optional -- condition for step to execute; defaults to succeeded()\n continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false\n\nsteps:\n - powershell: 'powershell "$env:BUILD_SOURCESDIRECTORY\eng\common\msbuild.ps1 $env:BUILD_SOURCESDIRECTORY/${{ parameters.HelixProjectPath }} /restore /p:TreatWarningsAsErrors=false ${{ parameters.HelixProjectArguments }} /t:Test /bl:$env:BUILD_SOURCESDIRECTORY\artifacts\log\$env:BuildConfig\SendToHelix.binlog"'\n displayName: ${{ parameters.DisplayNamePrefix }} (Windows)\n env:\n BuildConfig: $(_BuildConfig)\n HelixSource: ${{ parameters.HelixSource }}\n HelixType: ${{ parameters.HelixType }}\n HelixBuild: ${{ parameters.HelixBuild }}\n HelixConfiguration: ${{ parameters.HelixConfiguration }}\n HelixTargetQueues: ${{ parameters.HelixTargetQueues }}\n HelixAccessToken: ${{ parameters.HelixAccessToken }}\n HelixPreCommands: ${{ parameters.HelixPreCommands }}\n HelixPostCommands: ${{ parameters.HelixPostCommands }}\n WorkItemDirectory: ${{ parameters.WorkItemDirectory }}\n WorkItemCommand: ${{ parameters.WorkItemCommand }}\n WorkItemTimeout: ${{ parameters.WorkItemTimeout }}\n CorrelationPayloadDirectory: ${{ parameters.CorrelationPayloadDirectory }}\n XUnitProjects: ${{ parameters.XUnitProjects }}\n XUnitWorkItemTimeout: ${{ parameters.XUnitWorkItemTimeout }}\n XUnitPublishTargetFramework: ${{ parameters.XUnitPublishTargetFramework }}\n XUnitRuntimeTargetFramework: ${{ parameters.XUnitRuntimeTargetFramework }}\n XUnitRunnerVersion: ${{ parameters.XUnitRunnerVersion }}\n IncludeDotNetCli: ${{ parameters.IncludeDotNetCli }}\n DotNetCliPackageType: ${{ parameters.DotNetCliPackageType }}\n DotNetCliVersion: ${{ parameters.DotNetCliVersion }}\n WaitForWorkItemCompletion: ${{ parameters.WaitForWorkItemCompletion }}\n HelixBaseUri: ${{ parameters.HelixBaseUri }}\n Creator: ${{ parameters.Creator }}\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n condition: and(${{ parameters.condition }}, eq(variables['Agent.Os'], 'Windows_NT'))\n continueOnError: ${{ parameters.continueOnError }}\n - script: $BUILD_SOURCESDIRECTORY/eng/common/msbuild.sh $BUILD_SOURCESDIRECTORY/${{ parameters.HelixProjectPath }} /restore /p:TreatWarningsAsErrors=false ${{ parameters.HelixProjectArguments }} /t:Test /bl:$BUILD_SOURCESDIRECTORY/artifacts/log/$BuildConfig/SendToHelix.binlog\n displayName: ${{ parameters.DisplayNamePrefix }} (Unix)\n env:\n BuildConfig: $(_BuildConfig)\n HelixSource: ${{ parameters.HelixSource }}\n HelixType: ${{ parameters.HelixType }}\n HelixBuild: ${{ parameters.HelixBuild }}\n HelixConfiguration: ${{ parameters.HelixConfiguration }}\n HelixTargetQueues: ${{ parameters.HelixTargetQueues }}\n HelixAccessToken: ${{ parameters.HelixAccessToken }}\n HelixPreCommands: ${{ parameters.HelixPreCommands }}\n HelixPostCommands: ${{ parameters.HelixPostCommands }}\n WorkItemDirectory: ${{ parameters.WorkItemDirectory }}\n WorkItemCommand: ${{ parameters.WorkItemCommand }}\n WorkItemTimeout: ${{ parameters.WorkItemTimeout }}\n CorrelationPayloadDirectory: ${{ parameters.CorrelationPayloadDirectory }}\n XUnitProjects: ${{ parameters.XUnitProjects }}\n XUnitWorkItemTimeout: ${{ parameters.XUnitWorkItemTimeout }}\n XUnitPublishTargetFramework: ${{ parameters.XUnitPublishTargetFramework }}\n XUnitRuntimeTargetFramework: ${{ parameters.XUnitRuntimeTargetFramework }}\n XUnitRunnerVersion: ${{ parameters.XUnitRunnerVersion }}\n IncludeDotNetCli: ${{ parameters.IncludeDotNetCli }}\n DotNetCliPackageType: ${{ parameters.DotNetCliPackageType }}\n DotNetCliVersion: ${{ parameters.DotNetCliVersion }}\n WaitForWorkItemCompletion: ${{ parameters.WaitForWorkItemCompletion }}\n HelixBaseUri: ${{ parameters.HelixBaseUri }}\n Creator: ${{ parameters.Creator }}\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n condition: and(${{ parameters.condition }}, ne(variables['Agent.Os'], 'Windows_NT'))\n continueOnError: ${{ parameters.continueOnError }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\send-to-helix.yml | send-to-helix.yml | YAML | 8,338 | 0.95 | 0.129032 | 0.01087 | react-lib | 177 | 2024-02-22T21:13:22.299467 | Apache-2.0 | false | 03685e4405364b8381a998eba854d1ac |
parameters:\n # This template adds arcade-powered source-build to CI.\n\n # This is a 'steps' template, and is intended for advanced scenarios where the existing build\n # infra has a careful build methodology that must be followed. For example, a repo\n # (dotnet/runtime) might choose to clone the GitHub repo only once and store it as a pipeline\n # artifact for all subsequent jobs to use, to reduce dependence on a strong network connection to\n # GitHub. Using this steps template leaves room for that infra to be included.\n\n # Defines the platform on which to run the steps. See 'eng/common/core-templates/job/source-build.yml'\n # for details. The entire object is described in the 'job' template for simplicity, even though\n # the usage of the properties on this object is split between the 'job' and 'steps' templates.\n platform: {}\n is1ESPipeline: false\n\nsteps:\n# Build. Keep it self-contained for simple reusability. (No source-build-specific job variables.)\n- script: |\n set -x\n df -h\n\n # If file changes are detected, set CopyWipIntoInnerSourceBuildRepo to copy the WIP changes into the inner source build repo.\n internalRestoreArgs=\n if ! git diff --quiet; then\n internalRestoreArgs='/p:CopyWipIntoInnerSourceBuildRepo=true'\n # The 'Copy WIP' feature of source build uses git stash to apply changes from the original repo.\n # This only works if there is a username/email configured, which won't be the case in most CI runs.\n git config --get user.email\n if [ $? -ne 0 ]; then\n git config user.email dn-bot@microsoft.com\n git config user.name dn-bot\n fi\n fi\n\n # If building on the internal project, the internal storage variable may be available (usually only if needed)\n # In that case, add variables to allow the download of internal runtimes if the specified versions are not found\n # in the default public locations.\n internalRuntimeDownloadArgs=\n if [ '$(dotnetbuilds-internal-container-read-token-base64)' != '$''(dotnetbuilds-internal-container-read-token-base64)' ]; then\n internalRuntimeDownloadArgs='/p:DotNetRuntimeSourceFeed=https://ci.dot.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) --runtimesourcefeed https://ci.dot.net/internal --runtimesourcefeedkey $(dotnetbuilds-internal-container-read-token-base64)'\n fi\n\n buildConfig=Release\n # Check if AzDO substitutes in a build config from a variable, and use it if so.\n if [ '$(_BuildConfig)' != '$''(_BuildConfig)' ]; then\n buildConfig='$(_BuildConfig)'\n fi\n\n officialBuildArgs=\n if [ '${{ and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}' = 'True' ]; then\n officialBuildArgs='/p:DotNetPublishUsingPipelines=true /p:OfficialBuildId=$(BUILD.BUILDNUMBER)'\n fi\n\n targetRidArgs=\n if [ '${{ parameters.platform.targetRID }}' != '' ]; then\n targetRidArgs='/p:TargetRid=${{ parameters.platform.targetRID }}'\n fi\n\n runtimeOsArgs=\n if [ '${{ parameters.platform.runtimeOS }}' != '' ]; then\n runtimeOsArgs='/p:RuntimeOS=${{ parameters.platform.runtimeOS }}'\n fi\n\n baseOsArgs=\n if [ '${{ parameters.platform.baseOS }}' != '' ]; then\n baseOsArgs='/p:BaseOS=${{ parameters.platform.baseOS }}'\n fi\n\n publishArgs=\n if [ '${{ parameters.platform.skipPublishValidation }}' != 'true' ]; then\n publishArgs='--publish'\n fi\n\n assetManifestFileName=SourceBuild_RidSpecific.xml\n if [ '${{ parameters.platform.name }}' != '' ]; then\n assetManifestFileName=SourceBuild_${{ parameters.platform.name }}.xml\n fi\n\n portableBuildArgs=\n if [ '${{ parameters.platform.portableBuild }}' != '' ]; then\n portableBuildArgs='/p:PortableBuild=${{ parameters.platform.portableBuild }}'\n fi\n\n ${{ coalesce(parameters.platform.buildScript, './build.sh') }} --ci \\n --configuration $buildConfig \\n --restore --build --pack $publishArgs -bl \\n $officialBuildArgs \\n $internalRuntimeDownloadArgs \\n $internalRestoreArgs \\n $targetRidArgs \\n $runtimeOsArgs \\n $baseOsArgs \\n $portableBuildArgs \\n /p:DotNetBuildSourceOnly=true \\n /p:DotNetBuildRepo=true \\n /p:AssetManifestFileName=$assetManifestFileName\n displayName: Build\n\n# Upload build logs for diagnosis.\n- task: CopyFiles@2\n displayName: Prepare BuildLogs staging directory\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)'\n Contents: |\n **/*.log\n **/*.binlog\n artifacts/sb/prebuilt-report/**\n TargetFolder: '$(Build.StagingDirectory)/BuildLogs'\n CleanTargetFolder: true\n continueOnError: true\n condition: succeededOrFailed()\n\n- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish BuildLogs\n targetPath: '$(Build.StagingDirectory)/BuildLogs'\n artifactName: BuildLogs_SourceBuild_${{ parameters.platform.name }}_Attempt$(System.JobAttempt)\n continueOnError: true\n condition: succeededOrFailed()\n sbomEnabled: false # we don't need SBOM for logs\n\n# Manually inject component detection so that we can ignore the source build upstream cache, which contains\n# a nupkg cache of input packages (a local feed).\n# This path must match the upstream cache path in property 'CurrentRepoSourceBuiltNupkgCacheDir'\n# in src\Microsoft.DotNet.Arcade.Sdk\tools\SourceBuild\SourceBuildArcade.targets\n- template: /eng/common/core-templates/steps/component-governance.yml\n parameters:\n displayName: Component Detection (Exclude upstream cache)\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n componentGovernanceIgnoreDirectories: '$(Build.SourcesDirectory)/artifacts/sb/src/artifacts/obj/source-built-upstream-cache'\n disableComponentGovernance: ${{ eq(variables['System.TeamProject'], 'public') }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\source-build.yml | source-build.yml | YAML | 5,935 | 0.8 | 0.180451 | 0.206897 | python-kit | 406 | 2025-02-25T09:06:11.616826 | GPL-3.0 | false | 8d6fe2e8e533ad7031e5c8133ea5252c |
parameters:\n sourceIndexUploadPackageVersion: 2.0.0-20240522.1\n sourceIndexProcessBinlogPackageVersion: 1.0.1-20240522.1\n sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json\n binlogPath: artifacts/log/Debug/Build.binlog\n\nsteps:\n- task: UseDotNet@2\n displayName: "Source Index: Use .NET 8 SDK"\n inputs:\n packageType: sdk\n version: 8.0.x\n installationPath: $(Agent.TempDirectory)/dotnet\n workingDirectory: $(Agent.TempDirectory)\n\n- script: |\n $(Agent.TempDirectory)/dotnet/dotnet tool install BinLogToSln --version ${{parameters.sourceIndexProcessBinlogPackageVersion}} --add-source ${{parameters.SourceIndexPackageSource}} --tool-path $(Agent.TempDirectory)/.source-index/tools\n $(Agent.TempDirectory)/dotnet/dotnet tool install UploadIndexStage1 --version ${{parameters.sourceIndexUploadPackageVersion}} --add-source ${{parameters.SourceIndexPackageSource}} --tool-path $(Agent.TempDirectory)/.source-index/tools\n displayName: "Source Index: Download netsourceindex Tools"\n # Set working directory to temp directory so 'dotnet' doesn't try to use global.json and use the repo's sdk.\n workingDirectory: $(Agent.TempDirectory)\n\n- script: $(Agent.TempDirectory)/.source-index/tools/BinLogToSln -i ${{parameters.BinlogPath}} -r $(Build.SourcesDirectory) -n $(Build.Repository.Name) -o .source-index/stage1output\n displayName: "Source Index: Process Binlog into indexable sln"\n\n- ${{ if and(ne(parameters.runAsPublic, 'true'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - task: AzureCLI@2\n displayName: "Source Index: Upload Source Index stage1 artifacts to Azure"\n inputs:\n azureSubscription: 'SourceDotNet Stage1 Publish'\n addSpnToEnvironment: true\n scriptType: 'ps'\n scriptLocation: 'inlineScript'\n inlineScript: |\n $(Agent.TempDirectory)/.source-index/tools/UploadIndexStage1 -i .source-index/stage1output -n $(Build.Repository.Name) -s netsourceindexstage1 -b stage1\n | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\steps\source-index-stage1-publish.yml | source-index-stage1-publish.yml | YAML | 2,051 | 0.8 | 0.057143 | 0.032258 | node-utils | 831 | 2024-03-10T15:19:13.547914 | BSD-3-Clause | false | 41b5bd5feaf669f805503cc12839fcf1 |
parameters:\n is1ESPipeline: false\n\nvariables:\n - ${{ if eq(parameters.is1ESPipeline, 'true') }}:\n - template: /eng/common/templates-official/variables/pool-providers.yml\n - ${{ else }}:\n - template: /eng/common/templates/variables/pool-providers.yml | dataset_sample\yaml\dotnet_runtime\eng\common\core-templates\variables\pool-providers.yml | pool-providers.yml | YAML | 258 | 0.7 | 0.142857 | 0 | awesome-app | 942 | 2023-11-09T02:20:17.769656 | BSD-3-Clause | false | 793646b194eb9a9ffaae4e91c8ad6132 |
parameters: \n enablePublishBuildArtifacts: false\n disableComponentGovernance: ''\n componentGovernanceIgnoreDirectories: ''\n# Sbom related params\n enableSbom: true\n runAsPublic: false\n PackageVersion: 9.0.0\n BuildDropPath: '$(Build.SourcesDirectory)/artifacts'\n\njobs:\n- template: /eng/common/core-templates/job/job.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ if and(ne(parameter.key, 'steps'), ne(parameter.key, 'is1ESPipeline')) }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n steps:\n - ${{ each step in parameters.steps }}:\n - ${{ step }}\n\n componentGovernanceSteps:\n - template: /eng/common/templates/steps/component-governance.yml\n parameters:\n ${{ if eq(parameters.disableComponentGovernance, '') }}:\n ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/dotnet/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/microsoft/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:\n disableComponentGovernance: false\n ${{ else }}:\n disableComponentGovernance: true\n ${{ else }}:\n disableComponentGovernance: ${{ parameters.disableComponentGovernance }}\n componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}\n\n artifactPublishSteps:\n - ${{ if ne(parameters.artifacts.publish, '') }}:\n - ${{ if and(ne(parameters.artifacts.publish.artifacts, 'false'), ne(parameters.artifacts.publish.artifacts, '')) }}:\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n displayName: Publish pipeline artifacts\n pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts'\n publishLocation: Container\n artifactName: ${{ coalesce(parameters.artifacts.publish.artifacts.name , 'Artifacts_$(Agent.Os)_$(_BuildConfig)') }}\n continueOnError: true\n condition: always()\n retryCountOnTaskFailure: 10 # for any logs being locked\n - ${{ if and(ne(parameters.artifacts.publish.logs, 'false'), ne(parameters.artifacts.publish.logs, '')) }}:\n - template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n targetPath: '$(Build.ArtifactStagingDirectory)/artifacts/log'\n artifactName: ${{ coalesce(parameters.artifacts.publish.logs.name, 'Logs_Build_$(Agent.Os)_$(_BuildConfig)') }}\n displayName: 'Publish logs'\n continueOnError: true\n condition: always()\n retryCountOnTaskFailure: 10 # for any logs being locked\n sbomEnabled: false # we don't need SBOM for logs\n\n - ${{ if ne(parameters.enablePublishBuildArtifacts, 'false') }}:\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n displayName: Publish Logs\n pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig)'\n publishLocation: Container\n artifactName: ${{ coalesce(parameters.enablePublishBuildArtifacts.artifactName, '$(Agent.Os)_$(Agent.JobName)_Attempt$(System.JobAttempt)' ) }}\n continueOnError: true\n condition: always()\n\n - ${{ if eq(parameters.enableBuildRetry, 'true') }}:\n - template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n targetPath: '$(Build.SourcesDirectory)\eng\common\BuildConfiguration'\n artifactName: 'BuildConfiguration'\n displayName: 'Publish build retry configuration'\n continueOnError: true\n sbomEnabled: false # we don't need SBOM for BuildConfiguration\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\job\job.yml | job.yml | YAML | 4,179 | 0.8 | 0.142857 | 0.012987 | node-utils | 839 | 2024-06-15T10:55:48.667167 | BSD-3-Clause | false | 7fccc5e383baf728dc3b2a60758ab3f2 |
jobs:\n- template: /eng/common/core-templates/job/onelocbuild.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\job\onelocbuild.yml | onelocbuild.yml | YAML | 197 | 0.7 | 0 | 0 | node-utils | 343 | 2025-03-19T06:33:06.985066 | MIT | false | a155825079e639d7026dbb4c77834f60 |
jobs:\n- template: /eng/common/core-templates/job/publish-build-assets.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\job\publish-build-assets.yml | publish-build-assets.yml | YAML | 206 | 0.7 | 0 | 0 | vue-tools | 510 | 2023-07-24T00:37:44.875008 | GPL-3.0 | false | 86a89d7ce1e02d800846022a7bcb4f99 |
jobs:\n- template: /eng/common/core-templates/job/source-build.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\job\source-build.yml | source-build.yml | YAML | 198 | 0.7 | 0 | 0 | react-lib | 161 | 2023-09-22T15:47:17.225531 | GPL-3.0 | false | 5ad5c584e4e87389998f7f2421e1909d |
jobs:\n- template: /eng/common/core-templates/job/source-index-stage1.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\job\source-index-stage1.yml | source-index-stage1.yml | YAML | 205 | 0.7 | 0 | 0 | python-kit | 756 | 2024-12-17T17:06:10.366155 | BSD-3-Clause | false | 644f492719c7aa5b72229f6a48d30ea6 |
jobs:\n- template: /eng/common/core-templates/jobs/codeql-build.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\jobs\codeql-build.yml | codeql-build.yml | YAML | 199 | 0.7 | 0 | 0 | awesome-app | 443 | 2023-11-20T14:24:55.125804 | Apache-2.0 | false | 5a4641afeb1d1002bb374a73bf3097fb |
jobs:\n- template: /eng/common/core-templates/jobs/jobs.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\jobs\jobs.yml | jobs.yml | YAML | 191 | 0.7 | 0 | 0 | python-kit | 964 | 2025-01-12T06:26:51.475566 | BSD-3-Clause | false | 83db1630b41e7331450dad48cd4dbb10 |
jobs:\n- template: /eng/common/core-templates/jobs/source-build.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates\jobs\source-build.yml | source-build.yml | YAML | 198 | 0.7 | 0 | 0 | react-lib | 276 | 2025-02-04T06:41:44.219712 | BSD-3-Clause | false | 8a6be417efaa478b87d4053ebd878195 |
variables:\n- template: /eng/common/core-templates/post-build/common-variables.yml\n parameters:\n # Specifies whether to use 1ES\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates\post-build\common-variables.yml | common-variables.yml | YAML | 248 | 0.8 | 0 | 0.142857 | python-kit | 430 | 2025-04-08T10:15:11.992859 | BSD-3-Clause | false | 909ba0a5069bc3039739ad123729e365 |
stages:\n- template: /eng/common/core-templates/post-build/post-build.yml\n parameters:\n # Specifies whether to use 1ES\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates\post-build\post-build.yml | post-build.yml | YAML | 239 | 0.8 | 0 | 0.142857 | awesome-app | 398 | 2024-10-01T16:03:52.476861 | BSD-3-Clause | false | 7e027e903d22bb71823eeaec48a2a687 |
steps:\n- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n # Specifies whether to use 1ES\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates\post-build\setup-maestro-vars.yml | setup-maestro-vars.yml | YAML | 246 | 0.8 | 0 | 0.142857 | python-kit | 572 | 2024-07-21T11:53:08.771897 | MIT | false | a6548cf82fe816e8d533284434a175eb |
steps:\n- template: /eng/common/core-templates/steps/component-governance.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\component-governance.yml | component-governance.yml | YAML | 209 | 0.7 | 0 | 0 | python-kit | 680 | 2024-03-03T10:00:38.790482 | BSD-3-Clause | false | cdfa75619c43225e9cf33f340bedd740 |
# Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64'\n# variable with the base64-encoded SAS token, by default\n\nsteps:\n- template: /eng/common/core-templates/steps/enable-internal-runtimes.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\enable-internal-runtimes.yml | enable-internal-runtimes.yml | YAML | 389 | 0.8 | 0 | 0.25 | node-utils | 759 | 2024-09-03T00:00:05.990710 | GPL-3.0 | false | 83122e7f8536616f784ee96df8ab12ac |
steps:\n- template: /eng/common/core-templates/steps/enable-internal-sources.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\enable-internal-sources.yml | enable-internal-sources.yml | YAML | 211 | 0.7 | 0 | 0 | awesome-app | 192 | 2024-07-11T06:27:29.358968 | Apache-2.0 | false | ce021738739931039c30356d81b9cd02 |
steps:\n- template: /eng/common/core-templates/steps/generate-sbom.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\generate-sbom.yml | generate-sbom.yml | YAML | 202 | 0.7 | 0 | 0 | vue-tools | 337 | 2024-11-09T22:00:07.801309 | Apache-2.0 | false | 01cb9e0d9a333f37615cbd14fafc51a1 |
steps:\n- template: /eng/common/core-templates/steps/get-delegation-sas.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\get-delegation-sas.yml | get-delegation-sas.yml | YAML | 207 | 0.7 | 0 | 0 | awesome-app | 361 | 2023-07-22T16:03:51.193547 | GPL-3.0 | false | 07322cf41cd26f0152a72c4a027b65d7 |
steps:\n- template: /eng/common/core-templates/steps/get-federated-access-token.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\get-federated-access-token.yml | get-federated-access-token.yml | YAML | 214 | 0.7 | 0 | 0 | python-kit | 158 | 2024-06-05T18:08:45.145406 | BSD-3-Clause | false | 846715f1a4d7e3a984650b5c0eb9bcd0 |
parameters:\n- name: is1ESPipeline\n type: boolean\n default: false\n\n- name: displayName\n type: string\n default: 'Publish to Build Artifact'\n\n- name: condition\n type: string\n default: succeeded()\n\n- name: artifactName\n type: string\n\n- name: pathToPublish\n type: string\n\n- name: continueOnError\n type: boolean\n default: false\n\n- name: publishLocation\n type: string\n default: 'Container'\n\n- name: retryCountOnTaskFailure\n type: string\n default: 10\n\nsteps:\n- ${{ if eq(parameters.is1ESPipeline, true) }}:\n - 'eng/common/templates cannot be referenced from a 1ES managed template': error\n- task: PublishBuildArtifacts@1\n displayName: ${{ parameters.displayName }}\n condition: ${{ parameters.condition }}\n ${{ if parameters.continueOnError }}:\n continueOnError: ${{ parameters.continueOnError }}\n inputs:\n PublishLocation: ${{ parameters.publishLocation }} \n PathtoPublish: ${{ parameters.pathToPublish }}\n ${{ if parameters.artifactName }}:\n ArtifactName: ${{ parameters.artifactName }}\n ${{ if parameters.retryCountOnTaskFailure }}:\n retryCountOnTaskFailure: ${{ parameters.retryCountOnTaskFailure }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\publish-build-artifacts.yml | publish-build-artifacts.yml | YAML | 1,140 | 0.7 | 0.086957 | 0 | react-lib | 55 | 2024-05-31T05:50:18.852262 | BSD-3-Clause | false | 24d82629806c9eb503601f3c1ffb6b80 |
steps:\n- template: /eng/common/core-templates/steps/publish-logs.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\publish-logs.yml | publish-logs.yml | YAML | 201 | 0.7 | 0 | 0 | awesome-app | 319 | 2024-12-16T01:39:01.403676 | Apache-2.0 | false | 9d5f05497b5829492b197ede8da2db64 |
parameters:\n- name: is1ESPipeline\n type: boolean\n default: false\n\n- name: args\n type: object\n default: {}\n\nsteps:\n- ${{ if eq(parameters.is1ESPipeline, true) }}:\n - 'eng/common/templates cannot be referenced from a 1ES managed template': error\n- task: PublishPipelineArtifact@1\n displayName: ${{ coalesce(parameters.args.displayName, 'Publish to Build Artifact') }}\n ${{ if parameters.args.condition }}:\n condition: ${{ parameters.args.condition }}\n ${{ else }}:\n condition: succeeded()\n ${{ if parameters.args.continueOnError }}:\n continueOnError: ${{ parameters.args.continueOnError }}\n inputs:\n targetPath: ${{ parameters.args.targetPath }}\n ${{ if parameters.args.artifactName }}:\n artifactName: ${{ parameters.args.artifactName }}\n ${{ if parameters.args.publishLocation }}:\n publishLocation: ${{ parameters.args.publishLocation }}\n ${{ if parameters.args.fileSharePath }}:\n fileSharePath: ${{ parameters.args.fileSharePath }}\n ${{ if parameters.args.Parallel }}:\n parallel: ${{ parameters.args.Parallel }}\n ${{ if parameters.args.parallelCount }}:\n parallelCount: ${{ parameters.args.parallelCount }}\n ${{ if parameters.args.properties }}:\n properties: ${{ parameters.args.properties }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\publish-pipeline-artifacts.yml | publish-pipeline-artifacts.yml | YAML | 1,262 | 0.7 | 0.272727 | 0 | python-kit | 173 | 2024-05-11T20:53:44.838434 | GPL-3.0 | false | f78cfcbcb2d039523172d4dbeb84382f |
steps:\n- template: /eng/common/core-templates/steps/retain-build.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\retain-build.yml | retain-build.yml | YAML | 201 | 0.7 | 0 | 0 | awesome-app | 186 | 2023-08-12T12:27:47.863438 | GPL-3.0 | false | cc2bc2a0a9fe6ffdbb89d749a49c493f |
steps:\n- template: /eng/common/core-templates/steps/send-to-helix.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\send-to-helix.yml | send-to-helix.yml | YAML | 202 | 0.7 | 0 | 0 | python-kit | 180 | 2024-11-08T07:07:17.435307 | MIT | false | 242f9a66dc8fd6487ab4c5b3130da286 |
steps:\n- template: /eng/common/core-templates/steps/source-build.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\source-build.yml | source-build.yml | YAML | 201 | 0.7 | 0 | 0 | vue-tools | 767 | 2024-03-30T07:12:11.126766 | Apache-2.0 | false | b69d3712ac6cf56e6097ac25d3cff63f |
steps:\n- template: /eng/common/core-templates/steps/source-index-stage1-publish.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\steps\source-index-stage1-publish.yml | source-index-stage1-publish.yml | YAML | 216 | 0.7 | 0 | 0 | node-utils | 927 | 2024-09-24T13:19:13.523424 | GPL-3.0 | false | c3145043ba90466996369182b75d9414 |
# Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool,\n# otherwise it should go into the "normal" pools. This separates out the queueing and billing of released branches.\n\n# Motivation:\n# Once a given branch of a repository's output has been officially "shipped" once, it is then considered to be COGS\n# (Cost of goods sold) and should be moved to a servicing pool provider. This allows both separation of queueing\n# (allowing release builds and main PR builds to not intefere with each other) and billing (required for COGS.\n# Additionally, the pool provider name itself may be subject to change when the .NET Core Engineering Services\n# team needs to move resources around and create new and potentially differently-named pools. Using this template\n# file from an Arcade-ified repo helps guard against both having to update one's release/* branches and renaming.\n\n# How to use:\n# This yaml assumes your shipped product branches use the naming convention "release/..." (which many do).\n# If we find alternate naming conventions in broad usage it can be added to the condition below.\n#\n# First, import the template in an arcade-ified repo to pick up the variables, e.g.:\n#\n# variables:\n# - template: /eng/common/templates/variables/pool-providers.yml\n#\n# ... then anywhere specifying the pool provider use the runtime variables,\n# $(DncEngInternalBuildPool) and $ (DncEngPublicBuildPool), e.g.:\n#\n# pool:\n# name: $(DncEngInternalBuildPool)\n# demands: ImageOverride -equals windows.vs2019.amd64\nvariables:\n - ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n - template: /eng/common/templates-official/variables/pool-providers.yml\n - ${{ else }}:\n # Coalesce the target and source branches so we know when a PR targets a release branch\n # If these variables are somehow missing, fall back to main (tends to have more capacity)\n\n # Any new -Svc alternative pools should have variables added here to allow for splitting work\n - name: DncEngPublicBuildPool\n value: $[\n replace(\n replace(\n eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'),\n True,\n 'NetCore-Svc-Public'\n ),\n False,\n 'NetCore-Public'\n )\n ]\n\n - name: DncEngInternalBuildPool\n value: $[\n replace(\n replace(\n eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'),\n True,\n 'NetCore1ESPool-Svc-Internal'\n ),\n False,\n 'NetCore1ESPool-Internal'\n )\n ]\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates\variables\pool-providers.yml | pool-providers.yml | YAML | 2,855 | 0.95 | 0.050847 | 0.490909 | react-lib | 986 | 2025-02-12T18:47:31.357931 | BSD-3-Clause | false | dc79a9880fc3bd181b1db3ec65e3fe68 |
parameters:\n# Sbom related params\n enableSbom: true\n runAsPublic: false\n PackageVersion: 9.0.0\n BuildDropPath: '$(Build.SourcesDirectory)/artifacts'\n\njobs:\n- template: /eng/common/core-templates/job/job.yml\n parameters:\n is1ESPipeline: true\n\n componentGovernanceSteps:\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.enableSbom, 'true')) }}:\n - template: /eng/common/templates/steps/generate-sbom.yml\n parameters:\n PackageVersion: ${{ parameters.packageVersion }}\n BuildDropPath: ${{ parameters.buildDropPath }}\n ManifestDirPath: $(Build.ArtifactStagingDirectory)/sbom\n publishArtifacts: false\n\n # publish artifacts\n # for 1ES managed templates, use the templateContext.output to handle multiple outputs.\n templateContext:\n outputParentDirectory: $(Build.ArtifactStagingDirectory)\n outputs:\n - ${{ if ne(parameters.artifacts.publish, '') }}:\n - ${{ if and(ne(parameters.artifacts.publish.artifacts, 'false'), ne(parameters.artifacts.publish.artifacts, '')) }}:\n - output: buildArtifacts\n displayName: Publish pipeline artifacts\n PathtoPublish: '$(Build.ArtifactStagingDirectory)/artifacts'\n ArtifactName: ${{ coalesce(parameters.artifacts.publish.artifacts.name , 'Artifacts_$(Agent.Os)_$(_BuildConfig)') }}\n condition: always()\n retryCountOnTaskFailure: 10 # for any logs being locked\n continueOnError: true\n - ${{ if and(ne(parameters.artifacts.publish.logs, 'false'), ne(parameters.artifacts.publish.logs, '')) }}:\n - output: pipelineArtifact\n targetPath: '$(Build.ArtifactStagingDirectory)/artifacts/log'\n artifactName: ${{ coalesce(parameters.artifacts.publish.logs.name, 'Logs_Build_$(Agent.Os)_$(_BuildConfig)_Attempt$(System.JobAttempt)') }}\n displayName: 'Publish logs'\n continueOnError: true\n condition: always()\n retryCountOnTaskFailure: 10 # for any logs being locked\n sbomEnabled: false # we don't need SBOM for logs\n\n - ${{ if eq(parameters.enablePublishBuildArtifacts, true) }}:\n - output: buildArtifacts\n displayName: Publish Logs\n PathtoPublish: '$(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig)'\n publishLocation: Container\n ArtifactName: ${{ coalesce(parameters.enablePublishBuildArtifacts.artifactName, '$(Agent.Os)_$(Agent.JobName)_Attempt$(System.JobAttempt)' ) }}\n continueOnError: true\n condition: always()\n sbomEnabled: false # we don't need SBOM for logs\n\n - ${{ if eq(parameters.enableBuildRetry, 'true') }}:\n - output: pipelineArtifact\n targetPath: '$(Build.ArtifactStagingDirectory)/artifacts/eng/common/BuildConfiguration'\n artifactName: 'BuildConfiguration'\n displayName: 'Publish build retry configuration'\n continueOnError: true\n sbomEnabled: false # we don't need SBOM for BuildConfiguration\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.enableSbom, 'true')) }}:\n - output: pipelineArtifact\n displayName: Publish SBOM manifest\n continueOnError: true\n targetPath: $(Build.ArtifactStagingDirectory)/sbom\n artifactName: $(ARTIFACT_NAME)\n\n # add any outputs provided via root yaml\n - ${{ if ne(parameters.templateContext.outputs, '') }}:\n - ${{ each output in parameters.templateContext.outputs }}:\n - ${{ output }}\n \n # add any remaining templateContext properties\n ${{ each context in parameters.templateContext }}:\n ${{ if and(ne(context.key, 'outputParentDirectory'), ne(context.key, 'outputs')) }}:\n ${{ context.key }}: ${{ context.value }}\n\n ${{ each parameter in parameters }}:\n ${{ if and(ne(parameter.key, 'templateContext'), ne(parameter.key, 'is1ESPipeline')) }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\job\job.yml | job.yml | YAML | 4,211 | 0.8 | 0.192771 | 0.067568 | react-lib | 262 | 2024-12-05T10:27:42.636368 | Apache-2.0 | false | 78cd9b802b41a2c4c0686f51cbbe8a1b |
jobs:\n- template: /eng/common/core-templates/job/onelocbuild.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\job\onelocbuild.yml | onelocbuild.yml | YAML | 196 | 0.7 | 0 | 0 | node-utils | 109 | 2023-10-26T19:42:28.135642 | MIT | false | 5c573c9c1ea06267dfa3f47dea2e61f7 |
jobs:\n- template: /eng/common/core-templates/job/publish-build-assets.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\job\publish-build-assets.yml | publish-build-assets.yml | YAML | 205 | 0.7 | 0 | 0 | vue-tools | 274 | 2023-11-23T16:42:34.319601 | MIT | false | 3e7ed296298f0b030cb628629e3bf83b |
jobs:\n- template: /eng/common/core-templates/job/source-build.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\job\source-build.yml | source-build.yml | YAML | 197 | 0.7 | 0 | 0 | node-utils | 22 | 2025-04-05T17:53:26.322567 | Apache-2.0 | false | e1091ad4de48c0fc96801afac0ab2a99 |
jobs:\n- template: /eng/common/core-templates/job/source-index-stage1.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\job\source-index-stage1.yml | source-index-stage1.yml | YAML | 204 | 0.7 | 0 | 0 | vue-tools | 349 | 2023-12-21T21:43:56.780682 | MIT | false | 620a06f775d8943f6494f162f7e41524 |
jobs:\n- template: /eng/common/core-templates/jobs/codeql-build.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\jobs\codeql-build.yml | codeql-build.yml | YAML | 198 | 0.7 | 0 | 0 | awesome-app | 279 | 2023-09-22T19:41:39.075811 | BSD-3-Clause | false | d35bdbce251f1d612dcbc836ee974ebd |
jobs:\n- template: /eng/common/core-templates/jobs/jobs.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\jobs\jobs.yml | jobs.yml | YAML | 190 | 0.7 | 0 | 0 | react-lib | 557 | 2024-05-04T16:30:10.725835 | Apache-2.0 | false | 12294abf1659048c0304ce0ffd23273a |
jobs:\n- template: /eng/common/core-templates/jobs/source-build.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\jobs\source-build.yml | source-build.yml | YAML | 197 | 0.7 | 0 | 0 | react-lib | 858 | 2025-03-14T13:51:03.963766 | GPL-3.0 | false | 164ca5986230f70db7d9e6428b1090db |
variables:\n- template: /eng/common/core-templates/post-build/common-variables.yml\n parameters:\n # Specifies whether to use 1ES\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\post-build\common-variables.yml | common-variables.yml | YAML | 247 | 0.8 | 0 | 0.142857 | node-utils | 849 | 2024-06-29T03:57:39.473682 | BSD-3-Clause | false | e6dd3b41ffc563bece83db92e1148773 |
stages:\n- template: /eng/common/core-templates/post-build/post-build.yml\n parameters:\n # Specifies whether to use 1ES\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\post-build\post-build.yml | post-build.yml | YAML | 239 | 0.8 | 0 | 0.142857 | react-lib | 98 | 2024-09-17T23:08:24.284945 | BSD-3-Clause | false | 10fe98a8f9da81f17ac9ce76e3678b43 |
steps:\n- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n # Specifies whether to use 1ES\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\post-build\setup-maestro-vars.yml | setup-maestro-vars.yml | YAML | 245 | 0.8 | 0 | 0.142857 | node-utils | 475 | 2024-06-10T07:56:32.739999 | BSD-3-Clause | false | 3319c73ca03bf136891886314d1c8b90 |
steps:\n- template: /eng/common/core-templates/steps/component-governance.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\component-governance.yml | component-governance.yml | YAML | 208 | 0.7 | 0 | 0 | awesome-app | 975 | 2023-07-26T04:47:42.163379 | Apache-2.0 | false | 06aa967218650d7f9cfb8ec46d8759e2 |
# Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64'\n# variable with the base64-encoded SAS token, by default\nsteps:\n- template: /eng/common/core-templates/steps/enable-internal-runtimes.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\enable-internal-runtimes.yml | enable-internal-runtimes.yml | YAML | 387 | 0.8 | 0 | 0.25 | vue-tools | 314 | 2024-04-19T00:28:40.630602 | MIT | false | f57b264701d6d7acad609bf58c1ad4b2 |
steps:\n- template: /eng/common/core-templates/steps/enable-internal-sources.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\enable-internal-sources.yml | enable-internal-sources.yml | YAML | 210 | 0.7 | 0 | 0 | awesome-app | 923 | 2025-04-22T11:54:13.115924 | GPL-3.0 | false | 4cb4678c0860ec21b8f586937e5d4098 |
steps:\n- template: /eng/common/core-templates/steps/generate-sbom.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\generate-sbom.yml | generate-sbom.yml | YAML | 201 | 0.7 | 0 | 0 | react-lib | 808 | 2024-05-17T19:12:08.027334 | BSD-3-Clause | false | 9d6e6daf2467dfa3ba7e3a070e217a2b |
steps:\n- template: /eng/common/core-templates/steps/get-delegation-sas.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\get-delegation-sas.yml | get-delegation-sas.yml | YAML | 206 | 0.7 | 0 | 0 | python-kit | 333 | 2023-10-12T02:04:05.241217 | Apache-2.0 | false | 445f1d1e10142392945d56d80cef658d |
steps:\n- template: /eng/common/core-templates/steps/get-federated-access-token.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\get-federated-access-token.yml | get-federated-access-token.yml | YAML | 213 | 0.7 | 0 | 0 | vue-tools | 988 | 2025-06-26T19:10:25.366543 | BSD-3-Clause | false | 451a0bd19e999290b511849730f4b322 |
parameters:\n- name: displayName\n type: string\n default: 'Publish to Build Artifact'\n\n- name: condition\n type: string\n default: succeeded()\n\n- name: artifactName\n type: string\n\n- name: pathToPublish\n type: string\n\n- name: continueOnError\n type: boolean\n default: false\n\n- name: publishLocation\n type: string\n default: 'Container'\n\n- name: is1ESPipeline\n type: boolean\n default: true\n\n- name: retryCountOnTaskFailure\n type: string\n default: 10\n \nsteps:\n- ${{ if ne(parameters.is1ESPipeline, true) }}:\n - 'eng/common/templates-official cannot be referenced from a non-1ES managed template': error\n- task: 1ES.PublishBuildArtifacts@1\n displayName: ${{ parameters.displayName }}\n condition: ${{ parameters.condition }}\n ${{ if parameters.continueOnError }}:\n continueOnError: ${{ parameters.continueOnError }}\n inputs:\n PublishLocation: ${{ parameters.publishLocation }}\n PathtoPublish: ${{ parameters.pathToPublish }}\n ${{ if parameters.artifactName }}:\n ArtifactName: ${{ parameters.artifactName }}\n ${{ if parameters.retryCountOnTaskFailure }}:\n retryCountOnTaskFailure: ${{ parameters.retryCountOnTaskFailure }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\publish-build-artifacts.yml | publish-build-artifacts.yml | YAML | 1,156 | 0.7 | 0.086957 | 0 | node-utils | 11 | 2024-01-22T14:53:35.984041 | GPL-3.0 | false | dff936f4fd2a815e4a853bf2758eb9f4 |
steps:\n- template: /eng/common/core-templates/steps/publish-logs.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\publish-logs.yml | publish-logs.yml | YAML | 200 | 0.7 | 0 | 0 | awesome-app | 904 | 2024-07-22T13:40:25.728624 | GPL-3.0 | false | cd97d3f9c7687a5b76651856fd38cc13 |
parameters:\n- name: is1ESPipeline\n type: boolean\n default: true\n\n- name: args\n type: object\n default: {}\n\nsteps:\n- ${{ if ne(parameters.is1ESPipeline, true) }}:\n - 'eng/common/templates-official cannot be referenced from a non-1ES managed template': error\n- task: 1ES.PublishPipelineArtifact@1\n displayName: ${{ coalesce(parameters.args.displayName, 'Publish to Build Artifact') }}\n ${{ if parameters.args.condition }}:\n condition: ${{ parameters.args.condition }}\n ${{ else }}:\n condition: succeeded()\n ${{ if parameters.args.continueOnError }}:\n continueOnError: ${{ parameters.args.continueOnError }}\n inputs:\n targetPath: ${{ parameters.args.targetPath }}\n ${{ if parameters.args.artifactName }}:\n artifactName: ${{ parameters.args.artifactName }}\n ${{ if parameters.args.properties }}:\n properties: ${{ parameters.args.properties }}\n ${{ if parameters.args.sbomEnabled }}:\n sbomEnabled: ${{ parameters.args.sbomEnabled }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\publish-pipeline-artifacts.yml | publish-pipeline-artifacts.yml | YAML | 973 | 0.7 | 0.214286 | 0 | vue-tools | 459 | 2023-12-23T07:26:10.221172 | GPL-3.0 | false | 0d09d9af5a70fba1d8994003f81dc51b |
steps:\n- template: /eng/common/core-templates/steps/retain-build.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\retain-build.yml | retain-build.yml | YAML | 200 | 0.7 | 0 | 0 | node-utils | 226 | 2024-05-26T12:04:28.491314 | MIT | false | 64c424567a833cb1b3baacc6c82278ed |
steps:\n- template: /eng/common/core-templates/steps/send-to-helix.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\send-to-helix.yml | send-to-helix.yml | YAML | 201 | 0.7 | 0 | 0 | react-lib | 991 | 2024-01-02T21:58:22.840055 | MIT | false | 8073d7f9d6306dab92f89878a7eebf17 |
steps:\n- template: /eng/common/core-templates/steps/source-build.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\source-build.yml | source-build.yml | YAML | 200 | 0.7 | 0 | 0 | python-kit | 595 | 2024-01-16T12:09:02.243539 | MIT | false | bc24c27910c25e06953dc1fa1f53080f |
steps:\n- template: /eng/common/core-templates/steps/source-index-stage1-publish.yml\n parameters:\n is1ESPipeline: true\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\steps\source-index-stage1-publish.yml | source-index-stage1-publish.yml | YAML | 215 | 0.7 | 0 | 0 | awesome-app | 230 | 2025-05-16T06:52:37.168308 | BSD-3-Clause | false | 4321803988638271478b0ee91c88e6d7 |
# Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool, \n# otherwise it should go into the "normal" pools. This separates out the queueing and billing of released branches.\n\n# Motivation: \n# Once a given branch of a repository's output has been officially "shipped" once, it is then considered to be COGS\n# (Cost of goods sold) and should be moved to a servicing pool provider. This allows both separation of queueing\n# (allowing release builds and main PR builds to not intefere with each other) and billing (required for COGS.\n# Additionally, the pool provider name itself may be subject to change when the .NET Core Engineering Services \n# team needs to move resources around and create new and potentially differently-named pools. Using this template \n# file from an Arcade-ified repo helps guard against both having to update one's release/* branches and renaming.\n\n# How to use: \n# This yaml assumes your shipped product branches use the naming convention "release/..." (which many do).\n# If we find alternate naming conventions in broad usage it can be added to the condition below.\n#\n# First, import the template in an arcade-ified repo to pick up the variables, e.g.:\n#\n# variables:\n# - template: /eng/common/templates-official/variables/pool-providers.yml\n#\n# ... then anywhere specifying the pool provider use the runtime variables,\n# $(DncEngInternalBuildPool)\n#\n# pool:\n# name: $(DncEngInternalBuildPool)\n# image: 1es-windows-2022\n\nvariables:\n # Coalesce the target and source branches so we know when a PR targets a release branch\n # If these variables are somehow missing, fall back to main (tends to have more capacity)\n\n # Any new -Svc alternative pools should have variables added here to allow for splitting work\n\n - name: DncEngInternalBuildPool\n value: $[\n replace(\n replace(\n eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'),\n True,\n 'NetCore1ESPool-Svc-Internal'\n ),\n False,\n 'NetCore1ESPool-Internal'\n )\n ] | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\variables\pool-providers.yml | pool-providers.yml | YAML | 2,232 | 0.95 | 0.045455 | 0.675 | react-lib | 176 | 2023-09-13T20:02:38.660363 | Apache-2.0 | false | 5095d98b380f7d996e2cbdcaaa5a2d4f |
variables:\n# The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in\n# sync with the packages.config file.\n- name: DefaultGuardianVersion\n value: 0.109.0\n- name: GuardianPackagesConfigFile\n value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config | dataset_sample\yaml\dotnet_runtime\eng\common\templates-official\variables\sdl-variables.yml | sdl-variables.yml | YAML | 294 | 0.8 | 0 | 0.285714 | node-utils | 866 | 2024-08-27T04:33:38.233171 | MIT | false | 7a649e5c188d945e05df59979b5af58e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.