File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 branches :
1111 - main
1212
13- workflow_dispatch :
14- inputs :
15- run_security_scans :
16- description : ' Run FOSSA and CODEQL scans'
17- required : false
18- default : ' false'
19-
2013jobs :
2114 commit-lint :
2215 if : ${{ github.event_name == 'pull_request' }}
2619 uses : ./.github/workflows/lint.yml
2720
2821 test :
29- uses : ./.github/workflows/test.yml
30-
31- security-scans :
32- if : github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.run_security_scans =='true')
33- uses : ./.github/workflows/security-scans.yml
22+ uses : ./.github/workflows/test.yml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ trigger :
2+ branches :
3+ include :
4+ - main
5+ - chore/add-security-scans
6+
7+ resources :
8+ repositories :
9+ - repository : codeql
10+ type : github
11+ name : UiPath/AzurePipelinesTemplates
12+ ref : refs/tags/uipath.security.codeql.1.9.5
13+ endpoint : UiPath
14+ - repository : fossa
15+ type : github
16+ name : UiPath/AzurePipelinesTemplates
17+ ref : refs/tags/uipath.security.fossa.3.0.13
18+ endpoint : UiPath
19+
20+ variables :
21+ - template : ./variables.yml
22+
23+ stages :
24+ - stage : FOSSA
25+ dependsOn : []
26+ jobs :
27+ - job : FOSSA
28+ steps :
29+ - template : Security/fossa.steps.yml@fossa
30+ parameters :
31+ OS : linux
32+ azureSubscription : $(azureInternalProductionEaConnectionName)
33+ FOSSAFlags : ' --project "uipath-llamaindex-python" --branch "$(Build.SourceBranch)" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
34+ FOSSATestFlags : ' --project "uipath-llamaindex-python" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
35+ ${{ if contains(variables['Build.SourceBranch'], 'main') }} :
36+ publishSecurityReports : true
37+
38+
39+ - stage : CODEQL
40+ dependsOn : []
41+ jobs :
42+ - job : CODEQL
43+ steps :
44+ - template : Security/codeql.interpreted.steps.yml@codeql
45+ parameters :
46+ os : ' linux64'
47+ language : ' python'
48+ azureSubscription : $(azureInternalProductionEaConnectionName)
Original file line number Diff line number Diff line change 1+ variables :
2+ azureInternalProductionEaConnectionName : Internal-Production-EA
You can’t perform that action at this time.
0 commit comments