26 строки
563 B
YAML
26 строки
563 B
YAML
name: "Azure OpenAPI"
|
|
|
|
pool:
|
|
vmImage: 'Ubuntu-20.04'
|
|
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- master
|
|
|
|
pr:
|
|
autoCancel: false
|
|
|
|
variables:
|
|
TRAVIS: 'true'
|
|
TRAVIS_BRANCH: $(System.PullRequest.TargetBranch)
|
|
TRAVIS_PULL_REQUEST: $(System.PullRequest.PullRequestNumber)
|
|
TRAVIS_REPO_SLUG: $(Build.Repository.Name)
|
|
TRAVIS_PULL_REQUEST_SLUG: $(Build.Repository.Name)
|
|
TRAVIS_PULL_REQUEST_SHA: $(Build.SourceVersion)
|
|
PR_ONLY: 'true'
|
|
|
|
jobs:
|
|
- template: .azure-pipelines/BranchProtectionForPrivateRepo.yml
|
|
- template: .azure-pipelines/ShouldSendPRToMain.yml
|