Adjust for main as default branch
This commit is contained in:
Родитель
ecc46dc8f7
Коммит
e4eaa925a2
|
@ -23,7 +23,7 @@ steps:
|
|||
/repoName:$(Build.Repository.Name)
|
||||
/additionalCodexArguments:-bld
|
||||
/additionalCodexArguments:$(Build.ArtifactStagingDirectory)/build_logs
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables['Build.Reason'], 'PullRequest'))
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'), ne(variables['Build.Reason'], 'PullRequest'))
|
||||
continueOnError: true
|
||||
|
||||
- template: secure-development-tools.yml
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
- main
|
||||
- microbuild
|
||||
- 'validate/*'
|
||||
paths:
|
||||
|
|
Загрузка…
Ссылка в новой задаче