diff --git a/eng/common/pipelines/templates/steps/save-package-properties.yml b/eng/common/pipelines/templates/steps/save-package-properties.yml index 1808dc2a0..3714c0264 100644 --- a/eng/common/pipelines/templates/steps/save-package-properties.yml +++ b/eng/common/pipelines/templates/steps/save-package-properties.yml @@ -16,7 +16,13 @@ parameters: default: eng/common/scripts steps: - - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: + # There will be transitory period for every language repo where the - pullrequest build definition will run + # alongside the - - ci definitions. These pullrequest build definitions will have the ServiceDirectory parameter + # set to 'auto', which will allow the expanding and contracting based on PR Diff. + + # The other public CI builds will pass a real service directory, which will not activate the PR diff logic and as such will operate + # as before this change. + - ${{ if and(eq(variables['Build.Reason'], 'PullRequest'), eq(parameters.ServiceDirectory, 'auto')) }}: - task: Powershell@2 displayName: Generate PR Diff inputs: