Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Disable CodeQL on CI/PR pipelines #9128

Merged
merged 8 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions build-tools/automation/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ extends:
binskim:
scanOutputDirectoryOnly: true
codeql:
${{ if ne(variables['Build.SourceBranch'], 'refs/heads/main') }}:
compiled:
enabled: false
justificationForDisabling: CodeQL disabled for non-main branch builds
compiled:
enabled: false
justificationForDisabling: CodeQL runs against the nightly build
policheck:
enabled: false
justification: Built in task does not support multi-language scanning
Expand Down
5 changes: 0 additions & 5 deletions build-tools/automation/yaml-templates/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ stages:
CC: gcc-10
${{ if eq(parameters.use1ESTemplate, true) }}:
templateContext:
sdl:
codeql:
compiled:
enabled: false
justificationForDisabling: CodeQL runs against the Windows build and nightly macOS build
outputs:
- output: pipelineArtifact
displayName: upload linux sdk
Expand Down
5 changes: 0 additions & 5 deletions build-tools/automation/yaml-templates/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ stages:
clean: all
${{ if eq(parameters.use1ESTemplate, true) }}:
templateContext:
sdl:
codeql:
compiled:
enabled: false
justificationForDisabling: CodeQL runs against the Windows build and nightly macOS build
outputParentDirectory: ${{ parameters.xaSourcePath }}/bin
outputs:
- output: pipelineArtifact
Expand Down
Loading