38 строки
918 B
YAML
38 строки
918 B
YAML
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
# Required for schedule only trigger
|
|
trigger: none
|
|
pr: none
|
|
|
|
# Run weekly at midnight (Pacific).
|
|
schedules:
|
|
- cron: "0 8 * * 1"
|
|
displayName: 'Weekly Static Analysis'
|
|
branches:
|
|
include:
|
|
- main
|
|
|
|
variables:
|
|
LGTM.UploadSnapshot: true
|
|
Semmle.SkipAnalysis: true
|
|
|
|
stages:
|
|
- stage: 'staticAnalysis'
|
|
displayName: 'Static Analysis'
|
|
jobs:
|
|
- job: 'codeQL'
|
|
displayName: 'Execute CodeQL Analysis'
|
|
pool:
|
|
vmImage: 'windows-2019'
|
|
steps:
|
|
- task: Semmle@1
|
|
inputs:
|
|
sourceCodeDirectory: '$(Build.SourcesDirectory)'
|
|
language: 'tsandjs'
|
|
querySuite: 'Recommended'
|
|
timeout: '1800'
|
|
ram: '16384'
|
|
addProjectDirToScanningExclusionList: true
|
|
env:
|
|
System_AccessToken: $(System.AccessToken)
|