Sync eng/common directory with azure-sdk-tools for PR 1594 (#2243)

* Update sparse checkout create directory step name

* plumb BaseBranchName to create pull request

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
Azure SDK Bot 2021-05-12 14:44:10 -04:00 committed by GitHub
parent 530e49b217
commit 5d46edbe65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ parameters:
PRTitle: not-specified
PRBody: ''
ScriptDirectory: eng/common/scripts
GHReviewersVariable: ''
GHReviewersVariable: ''
GHTeamReviewersVariable: ''
GHAssignessVariable: ''
# Multiple labels seperated by comma, e.g. "bug, APIView"
@ -33,7 +33,7 @@ steps:
PushArgs: ${{ parameters.PushArgs }}
WorkingDirectory: ${{ parameters.WorkingDirectory }}
ScriptDirectory: ${{ parameters.ScriptDirectory }}
SkipCheckingForChanges: ${{ parameters.SkipCheckingForChanges }}
SkipCheckingForChanges: ${{ parameters.SkipCheckingForChanges }}
- task: PowerShell@2
displayName: Create pull request

View File

@ -20,6 +20,7 @@ steps:
- pwsh: |
$dir = "${{ coalesce(repo.WorkingDirectory, format('{0}/{1}', '$(System.DefaultWorkingDirectory)', repo.Name)) }}"
New-Item $dir -ItemType Directory -Force
displayName: Create ${{ repo.Name }} directories
- pwsh: |
git clone --no-checkout --filter=tree:0 git://github.com/${{ repo.Name }} .