Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eng
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2022-09-02 18:53:01 +0300
committerGitHub <noreply@github.com>2022-09-02 18:53:01 +0300
commiteb5d3f9be211f1f684ad94721331a49ac9850cd1 (patch)
tree74ff75ab3519c2bc8d4f54f36f5d0ac4d248e877 /eng
parented775e24220f53750b5c3d50afdefa0864234267 (diff)
[release/7.0] Only attempt to use ESRP connection in approved branches (#74942)
* Only attempt to use ESRP connection in approved branches * Update sign-diagnostic-files.yml Add main
Diffstat (limited to 'eng')
-rw-r--r--eng/pipelines/coreclr/templates/sign-diagnostic-files.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/eng/pipelines/coreclr/templates/sign-diagnostic-files.yml b/eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
index 7b020552ad5..578a4f9999d 100644
--- a/eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
+++ b/eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
@@ -4,7 +4,7 @@ parameters:
timeoutInMinutes: ''
steps:
-- ${{ if and(eq(parameters.isOfficialBuild, true), ne(variables['Build.Reason'], 'PullRequest')) }}:
+- ${{ if and(eq(parameters.isOfficialBuild, true), ne(variables['Build.Reason'], 'PullRequest'), or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
- task: UseDotNet@2
displayName: Install .NET 6 SDK for signing.
inputs: