Skip to content

Commit 4c935c7

Browse files
authored
Fix CodeQL configuration (#1886)
1 parent 45d1c34 commit 4c935c7

File tree

2 files changed

+10
-21
lines changed

2 files changed

+10
-21
lines changed

.config/tsaoptions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"instanceUrl": "https://msazure.visualstudio.com",
33
"projectName": "One",
4-
"areaPath": "One\\MGMT\\Compute\\Powershell\\Powershell\\PowerShell Core",
4+
"areaPath": "One\\MGMT\\Compute\\Powershell\\Powershell\\PowerShell Core\\PSResourceGet",
55
"notificationAliases": [
66
77

.pipelines/PSResourceGet-Official.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
#################################################################################
2-
# OneBranch Pipelines #
3-
# This pipeline was created by EasyStart from a sample located at: #
4-
# https://aka.ms/obpipelines/easystart/samples #
5-
# Documentation: https://aka.ms/obpipelines #
6-
# Yaml Schema: https://aka.ms/obpipelines/yaml/schema #
7-
# Retail Tasks: https://aka.ms/obpipelines/tasks #
8-
# Support: https://aka.ms/onebranchsup #
9-
#################################################################################
101
name: PSResourceGet-Release-$(Build.BuildId)
11-
trigger: none # https://aka.ms/obpipelines/triggers
2+
trigger: none
123
pr:
134
branches:
145
include:
@@ -36,7 +27,7 @@ resources:
3627
ref: refs/heads/main
3728

3829
extends:
39-
template: v2/OneBranch.Official.CrossPlat.yml@onebranchTemplates # https://aka.ms/obpipelines/templates
30+
template: v2/OneBranch.Official.CrossPlat.yml@onebranchTemplates
4031
parameters:
4132
featureFlags:
4233
WindowsHostVersion: '1ESWindows2022'
@@ -49,18 +40,16 @@ extends:
4940
enabled: true
5041
packageName: Microsoft.PowerShell.PSResourceGet
5142
codeql:
43+
tsaEnabled: true
5244
compiled:
5345
enabled: true
54-
asyncSdl: # https://aka.ms/obpipelines/asyncsdl
46+
credscan:
5547
enabled: true
56-
forStages: [stagebuild]
57-
credscan:
58-
enabled: true
59-
scanFolder: $(Build.SourcesDirectory)\PSResourceGet
60-
binskim:
61-
enabled: true
62-
apiscan:
63-
enabled: false
48+
scanFolder: $(Build.SourcesDirectory)\PSResourceGet
49+
binskim:
50+
enabled: true
51+
apiscan:
52+
enabled: false
6453

6554
stages:
6655
- stage: stagebuild

0 commit comments

Comments
 (0)