Skip to content

Commit 5149247

Browse files
committed
cherry-pick(#2036): devops: add explicit checkout steps to pipelines
1 parent b915982 commit 5149247

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎.azure-pipelines/publish-docker.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ extends:
4747
timeoutInMinutes: 360
4848
steps:
4949
- checkout: self
50+
persistCredentials: false
5051
displayName: "Checkout code"
5152

5253
- task: UseNode@1

‎.azure-pipelines/publish.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ extends:
3636
path: $(Build.ArtifactStagingDirectory)/esrp-build
3737
artifact: esrp-build
3838
steps:
39+
- checkout: self
40+
persistCredentials: false
41+
displayName: "Checkout code"
42+
3943
- bash: |
4044
if [[ ! "$CURRENT_BRANCH" =~ ^v1\..* ]]; then
4145
echo "Can only publish from a release tag branch (v1.*)."

0 commit comments

Comments
 (0)