Skip to content

Commit 1e828cd

Browse files
authored
Merge pull request MicrosoftDocs#141 from MicrosoftDocs/update_to_powershell_7
Rolled back to previous checkout.yml file
2 parents b09be3d + 4348723 commit 1e828cd

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

azure-pipelines/checkout.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
parameters:
2-
- name: TargetBranch
3-
type: string
4-
default: 'main'
5-
61
steps:
72
- checkout: msgraph-sdk-powershell
83
clean: true
@@ -13,31 +8,4 @@ steps:
138
- checkout: self
149
clean: true
1510
fetchDepth: 1
16-
17-
- task: PowerShell@2
18-
displayName: "Configure user"
19-
inputs:
20-
targetType: "inline"
21-
script: |
22-
git config --global user.email "[email protected]"
23-
git config --global user.name "Timothy Wamalwa"
24-
25-
- task: Bash@3
26-
displayName: "Switch to target branch: ${{ parameters.TargetBranch }}"
27-
condition: and(succeeded(), ne('${{ parameters.TargetBranch }}', ''))
28-
inputs:
29-
targetType: inline
30-
script: |
31-
git status
32-
git fetch --all
33-
git checkout ${{ parameters.TargetBranch }}
34-
git pull
35-
git status
36-
37-
38-
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
39-
displayName: "Run CredScan"
40-
inputs:
41-
debugMode: false
42-
4311

0 commit comments

Comments
 (0)