File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ The script checks for changes to:
3333| -----------| ------| ---------| ---------|
3434| ` BaseBranch ` | String | ` 'origin/main' ` | Base branch to compare against |
3535| ` CurrentBranch ` | String | ` 'HEAD' ` | Current branch or commit to compare |
36+ | ` UseMergeBase ` | Switch | ` $false ` | Use merge-base to compute diff base |
3637
3738### Outputs
3839
@@ -53,7 +54,7 @@ a boolean value that the pipeline captures, e.g.:
5354<!-- markdownlint-disable MD013 -->
5455``` yaml
5556- powershell : |
56- $shouldRun = ./.build/Test-ShouldRunDscResourceIntegrationTests.ps1 -BaseBranch $targetBranch -CurrentBranch HEAD
57+ $shouldRun = & ./.build/Test-ShouldRunDscResourceIntegrationTests.ps1 -BaseBranch $targetBranch -CurrentBranch HEAD -UseMergeBase
5758 Write-Host "##vso[task.setvariable variable=ShouldRunDscResourceIntegrationTests;isOutput=true]$shouldRun"
5859 displayName : ' Determine if DSC resource tests should run'
5960 name : determineShouldRun
You can’t perform that action at this time.
0 commit comments