Skip to content

Commit f48a81a

Browse files
committed
Enable CodeQL in OneBranch
And rely on GitHub's automatic action.
1 parent 5e35bcd commit f48a81a

File tree

2 files changed

+9
-40
lines changed

2 files changed

+9
-40
lines changed

.github/workflows/codeql-analysis.yml

-40
This file was deleted.

.pipelines/vscode-powershell-Official.yml

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010

1111
trigger: none
1212

13+
schedules:
14+
- cron: '25 9 * * 3'
15+
displayName: Weekly CodeQL
16+
branches:
17+
include:
18+
- main
19+
always: true
20+
1321
parameters:
1422
- name: debug
1523
displayName: Enable debug output
@@ -144,6 +152,7 @@ extends:
144152
displayName: Run tests
145153
- stage: release
146154
dependsOn: build
155+
condition: ne(variables['Build.Reason'], 'Schedule')
147156
variables:
148157
version: $[ stageDependencies.build.main.outputs['package.version'] ]
149158
vsixVersion: $[ stageDependencies.build.main.outputs['package.vsixVersion'] ]

0 commit comments

Comments
 (0)