54 lines
1000 B
YAML
54 lines
1000 B
YAML
name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)
|
|
trigger:
|
|
# Batch merge builds together while a merge build is running
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- master
|
|
- feature*
|
|
|
|
pr:
|
|
branches:
|
|
include:
|
|
- master
|
|
- feature*
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: ComplianceRepo
|
|
type: github
|
|
endpoint: PowerShell
|
|
name: PowerShell/compliance
|
|
ref: master
|
|
|
|
variables:
|
|
- name: repoFolder
|
|
value: PowerShell
|
|
|
|
stages:
|
|
- stage: Compliance
|
|
jobs:
|
|
- job: CI_Compliance
|
|
displayName: CI Compliance
|
|
|
|
pool:
|
|
vmImage: windows-latest
|
|
|
|
variables:
|
|
- name: repoPath
|
|
value: $(Agent.BuildDirectory)\$(repoFolder)
|
|
|
|
steps:
|
|
- checkout: self
|
|
clean: true
|
|
path: $(repoFolder)
|
|
|
|
- checkout: ComplianceRepo
|
|
|
|
- template: ci-compliance.yml@ComplianceRepo
|
|
- stage: markdown_spelling_lint
|
|
displayName: Markdown Spelling and Lint
|
|
dependsOn: []
|
|
jobs:
|
|
- template: ./misc-analysis/mdSpell.yml
|