Skip to content

Commit 9124af0

Browse files
authored
[ci] Enable PME when signing NuGet packages (#23701)
- Use the new sign-artifacts v4 that is already configured to enable PME for real signing. We use this to sign our NuGet pacakges. - Adds production declaration our release branches as their names do not match 1ES classification.
1 parent c46c9f1 commit 9124af0

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: branch_classification
2+
resource: repository
3+
disabled: false
4+
where:
5+
configuration:
6+
branchClassificationSettings:
7+
defaultClassification: nonproduction
8+
ruleset:
9+
- name: prod-branches
10+
branchNames:
11+
- main
12+
- release-test/*
13+
- release/*
14+
- net7.0
15+
- net8.0
16+
- net9.0
17+
- net10.0
18+
- xcode*
19+
classification: production

tools/devops/automation/templates/release/vs-insertion-prep.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ stages:
5050

5151
jobs:
5252
# Check - "xamarin-macios (Prepare Release Sign NuGets)"
53-
- template: sign-artifacts/jobs/v2.yml@yaml-templates
53+
- template: sign-artifacts/jobs/v4.yml@yaml-templates
5454
parameters:
5555
timeoutInMinutes: 120
56-
use1ESTemplate: true
5756
uploadBinlogs: true
5857
uploadPrefix: ${{ parameters.uploadPrefix }}
5958
enabledCredScan: false

0 commit comments

Comments
 (0)