Skip to content

Commit

Permalink
add run source languages var for codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
manvkaur committed Dec 13, 2024
1 parent 43e5a72 commit 7691681
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions eng/ci/public-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ trigger:
batch: true
branches:
include:
- dev
- sdk/*
- extensions/*
- dev
- sdk/*
- extensions/*

pr:
branches:
include:
- dev
- dev

schedules:
- cron: '0 0 * * MON'
displayName: At 12:00 AM, only on Monday
branches:
include:
- dev
always: true
- cron: '0 0 * * MON'
displayName: At 12:00 AM, only on Monday
branches:
include:
- dev
always: true

resources:
repositories:
- repository: 1es
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
- repository: 1es
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

variables:
- template: /eng/templates/utils/variables.yml@self
Expand All @@ -34,6 +34,8 @@ variables:
value: true
- name: codeql.runSourceLanguagesInSourceAnalysis
value: true
- name: codeql.sourceLanguages
value: python, powershell

extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
Expand All @@ -45,10 +47,10 @@ extends:
settings:
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}
stages:
- stage: Build
jobs:
- template: /eng/templates/jobs/build.yml@self
- stage: RunUnitTests
dependsOn: Build
jobs:
- template: /eng/templates/jobs/ci-unit-tests.yml@self
- stage: Build
jobs:
- template: /eng/templates/jobs/build.yml@self
- stage: RunUnitTests
dependsOn: Build
jobs:
- template: /eng/templates/jobs/ci-unit-tests.yml@self

0 comments on commit 7691681

Please sign in to comment.