2019-02-22 01:58:17 +03:00
|
|
|
name: "Azure OpenAPI"
|
2019-02-16 01:49:33 +03:00
|
|
|
|
2021-10-21 11:35:22 +03:00
|
|
|
pool:
|
|
|
|
vmImage: 'Ubuntu-20.04'
|
|
|
|
|
2019-12-16 10:52:47 +03:00
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
|
2020-02-10 10:26:37 +03:00
|
|
|
pr:
|
|
|
|
autoCancel: false
|
|
|
|
|
2019-02-22 01:58:17 +03:00
|
|
|
variables:
|
|
|
|
TRAVIS: 'true'
|
2019-02-23 00:12:00 +03:00
|
|
|
TRAVIS_BRANCH: $(System.PullRequest.TargetBranch)
|
|
|
|
TRAVIS_PULL_REQUEST: $(System.PullRequest.PullRequestNumber)
|
2019-02-22 01:58:17 +03:00
|
|
|
TRAVIS_REPO_SLUG: $(Build.Repository.Name)
|
|
|
|
TRAVIS_PULL_REQUEST_SLUG: $(Build.Repository.Name)
|
|
|
|
TRAVIS_PULL_REQUEST_SHA: $(Build.SourceVersion)
|
|
|
|
PR_ONLY: 'true'
|
|
|
|
|
|
|
|
jobs:
|
2021-08-02 09:52:01 +03:00
|
|
|
- template: .azure-pipelines/BranchProtectionForPrivateRepo.yml
|
2021-10-21 11:35:22 +03:00
|
|
|
- template: .azure-pipelines/ShouldSendPRToMain.yml
|