Skip to content

Commit

Permalink
[0.70] Disable SBOM signing on CI/PRs
Browse files Browse the repository at this point in the history
Backports #11657 to 0.70.

## 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
  • Loading branch information
jonthysell committed May 25, 2023
1 parent 09c3b4d commit 480684e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ado/variables/shared.yml
Expand Up @@ -5,6 +5,9 @@ variables:
runCodesignValidationInjection: false
skipComponentGovernanceDetection: true

# SBOM signing only works on microsoft ADO
Packaging.EnableSBOMSigning: ${{ startsWith(variables['System.CollectionUri'], 'https://dev.azure.com/microsoft') }}

# Enables `chalk` to show colored output to Azure Pipelines
FORCE_COLOR: 3

Expand Down

0 comments on commit 480684e

Please sign in to comment.