Skip to content

Commit 902a591

Browse files
committed
fix: Disable CodeQL in PR validation to resolve stale snapshot issue
- Disable CodeQL auto-injection globally in PR validation pipeline - Add one-time 'pytestonwindows' job on Ubuntu to update the old stale CodeQL snapshot - Uses build.sh on Linux (matching original CodeQL job setup) - This fixes the S360 CodeQL finding SM02986 that was stuck on outdated code - After the old snapshot is cleared, the pytestonwindows job should be removed Resolves: User Story 39809 [S360] [CodeQL.SM02986]
1 parent 95e0836 commit 902a591

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

eng/pipelines/pr-validation-pipeline.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ trigger:
77
- main
88

99
jobs:
10-
- job: CodeQLAnalysis
10+
# =========================================================================================
11+
# One-time CodeQL Snapshot Update Job
12+
# =========================================================================================
13+
# This job exists to update the old CodeQL snapshot associated with 'pytestonwindows'.
14+
# After this runs successfully on main branch and the old CodeQL issue is cleared,
15+
# this entire job can be updated again in the pipeline.
16+
# =========================================================================================
17+
- job: pytestonwindows
1118
displayName: 'CodeQL Security Analysis'
1219
pool:
1320
vmImage: 'ubuntu-latest'
14-
21+
1522
steps:
1623
- script: |
1724
sudo apt-get update

0 commit comments

Comments
 (0)