Skip to content

Commit 553ed8f

Browse files
committed
removed the submodule step and changed the checkout submodule step to recursive
1 parent 37e5d5a commit 553ed8f

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.azure-pipelines/common-templates/checkout.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
- checkout: self
1111
clean: true
1212
fetchDepth: 1
13-
submodules: true
13+
submodules: recursive
1414
persistCredentials: true
1515

1616
- task: PowerShell@2
@@ -36,13 +36,5 @@ steps:
3636
git checkout ${{ parameters.TargetBranch }}
3737
git pull
3838
git status
39-
40-
- task: PowerShell@2
41-
displayName: "Update Git Submodules"
42-
inputs:
43-
targetType: inline
44-
script: |
45-
git pull --recurse-submodules
46-
git submodule sync
47-
39+
4840
- template: ./security-pre-checks.yml

0 commit comments

Comments
 (0)