diff --git a/eng/common/pipelines/templates/steps/docs-metadata-release.yml b/eng/common/pipelines/templates/steps/docs-metadata-release.yml index ed9798b2989d..d281582039d9 100644 --- a/eng/common/pipelines/templates/steps/docs-metadata-release.yml +++ b/eng/common/pipelines/templates/steps/docs-metadata-release.yml @@ -19,6 +19,7 @@ parameters: GHTeamReviewersVariable: '' # externally set, as eng-common does not have the identity-resolver. Run as pre-step OnboardingBranch: '' CloseAfterOpenForTesting: false + SkipPackageJson: false steps: - pwsh: | @@ -55,7 +56,7 @@ steps: - task: PowerShell@2 displayName: 'Update Docs.MS CI Targeted Packages' - condition: and(succeededOrFailed(), eq('${{ parameters.OnboardingBranch }}','')) + condition: and(succeededOrFailed(), eq('${{ parameters.OnboardingBranch }}',''), ne('${{ parameters.SkipPackageJson }}', true)) inputs: targetType: filePath filePath: ${{ parameters.ScriptDirectory }}/update-docs-ci.ps1