mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 09:43:57 +08:00
d372832325
* Remove spelling CI * Delete mdSpell.yml * Delete markdown.yml * Update CONTRIBUTING.md * repo issues * markdown term fixes * command-line term * fix syntax issues * fix codebase term * Disable VALIDATE_EDITORCONFIG
49 lines
860 B
YAML
49 lines
860 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
|