Skip to content

Commit

Permalink
Merge pull request #805 from Azure/manvkaur/enablepubliccodeql
Browse files Browse the repository at this point in the history
move codeql variables to sdl section of 1ESPT
  • Loading branch information
manvkaur authored Dec 19, 2024
2 parents 5f50ed4 + bd3344d commit 0f7a0c5
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions eng/ci/public-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ resources:
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

variables:
- name: codeql.language
value: java,powershell,csharp
- name: codeql.buildIdentifier
value: java_worker_public
- name: codeql.excludePathPatterns
value: extract/inst
- name: codeql.compiled.enabled
value: true

extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
parameters:
Expand All @@ -42,6 +32,14 @@ extends:
image: 1es-windows-2022
os: windows

sdl:
codeql:
compiled:
enabled: true # still only runs for default branch
language: java,powershell,csharp
buildIdentifier: java_worker_public
excludePathPatterns: extract/inst

settings:
# PR's from forks do not have sufficient permissions to set tags.
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}
Expand Down

0 comments on commit 0f7a0c5

Please sign in to comment.