File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 1
- parameters :
2
- - name : TargetBranch
3
- type : string
4
- default : ' main'
5
-
6
1
steps :
7
2
- checkout : msgraph-sdk-powershell
8
3
clean : true
13
8
- checkout : self
14
9
clean : true
15
10
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
-
43
11
You can’t perform that action at this time.
0 commit comments