mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
quote SOURCEBRANCH
This commit is contained in:
parent
2829a34161
commit
0382fc0598
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ steps:
|
|||
- bash: |
|
||||
FORKURI=$(curl -X GET "https://api.github.com/repos/$BUILD_REPOSITORY_NAME/pulls/$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER" | jq -r '.head.repo.clone_url')
|
||||
git clone "$FORKURI" .
|
||||
git checkout $SYSTEM_PULLREQUEST_SOURCEBRANCH
|
||||
git checkout "$SYSTEM_PULLREQUEST_SOURCEBRANCH"
|
||||
displayName: checkout source branch
|
||||
|
||||
# TODO: validate author of last commit was $(GITHUBNAME)
|
||||
|
|
|
|||
Loading…
Reference in a new issue