forked from MicrosoftDocs/PowerShell-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
daily.yml
59 lines (49 loc) · 1.18 KB
/
daily.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: PowerShell-Docs-Daily-$(Date:yyyyMMdd)$(Rev:.rr)
trigger:
branches:
include:
- live
- main
paths:
include:
- '*'
exclude:
- .github/*
- .vscode/*
- contributing/*
- tools/terms/*
pr:
branches:
include:
- main
- live
paths:
include:
- '*'
exclude:
- .github/*
- .vscode/*
- contributing/*
- tools/terms/*
resources:
- repo: self
clean: true
jobs:
- job: build_and_test
displayName: Build And Test
pool: Package ES CodeHub Lab E
steps:
- template: ci-steps.yml
- task: securedevelopmentteam.vss-secure-development-tools.build-task-antimalware.AntiMalware@3
displayName: 'Run Defender Scan'
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@1
displayName: 'Run PoliCheck'
inputs:
targetType: F
optionsFC: 0
optionsXS: 0
optionsPE: '1|2|3|4'
optionsHMENABLE: 0
optionsRulesDBPath: '$(Build.SourcesDirectory)\tools\terms\PowerShell-Docs-Terms-Rules.mdb'
optionsFTPATH: '$(Build.SourcesDirectory)\tools\terms\FileTypeSet.xml'
continueOnError: true