Skip to content

Commit 2e802fb

Browse files
azure-sdkscbedd
andauthored
Sync eng/common directory with azure-sdk-tools for PR 9181 (Azure#37969)
* save-package-properties.yml only activates PR diff mechanism if the service directory is "auto" --------- Co-authored-by: Scott Beddall <[email protected]>
1 parent 653306c commit 2e802fb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

eng/common/pipelines/templates/steps/save-package-properties.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ parameters:
1616
default: eng/common/scripts
1717

1818
steps:
19-
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
19+
# There will be transitory period for every language repo where the <language> - pullrequest build definition will run
20+
# alongside the <language> - <service> - ci definitions. These pullrequest build definitions will have the ServiceDirectory parameter
21+
# set to 'auto', which will allow the expanding and contracting based on PR Diff.
22+
23+
# The other public CI builds will pass a real service directory, which will not activate the PR diff logic and as such will operate
24+
# as before this change.
25+
- ${{ if and(eq(variables['Build.Reason'], 'PullRequest'), eq(parameters.ServiceDirectory, 'auto')) }}:
2026
- task: Powershell@2
2127
displayName: Generate PR Diff
2228
inputs:

0 commit comments

Comments
 (0)