Skip to content

Commit 3bc06ca

Browse files
authored
[0.72] Disable SBOM signing on CI/PRs
Backports #11657 to 0.72. ## Description Our SBOM manifests can only be signed when running pipelines in the internal ADO for publishing official builds. This PR changes the config not not sign the manifests for PR/CI. ### Type of Change - Bug fix (non-breaking change which fixes an issue) ### Why Unblock PRs. ### What Added variable to only enable signing when on the right ADO instance. ## Screenshots N/A ## Testing N/A main
1 parent 5d17894 commit 3bc06ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.ado/variables/shared.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ variables:
55
runCodesignValidationInjection: false
66
skipComponentGovernanceDetection: true
77

8+
# SBOM signing only works on microsoft ADO
9+
Packaging.EnableSBOMSigning: ${{ startsWith(variables['System.CollectionUri'], 'https://dev.azure.com/microsoft') }}
10+
811
# Enables `chalk` to show colored output to Azure Pipelines
912
FORCE_COLOR: 3
1013

0 commit comments

Comments
 (0)