Skip to content

Commit

Permalink
Enable CodeQL for scheduled CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtzeborn committed Feb 13, 2023
1 parent 6ea9b58 commit a8b512e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 4 additions & 6 deletions eng/pipelines/templates/jobs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ jobs:
- job: 'Build'

variables:
- template: /eng/pipelines/templates/variables/globals.yml
- name: ArtifactName
value: 'packages'
ArtifactName: 'packages'
Codeql.Enabled: true
Codeql.BuildIdentifier: ${{ parameters.ServiceDirectory }}
Codeql.SkipTaskAutoInjection: false

pool:
name: azsdk-pool-mms-ubuntu-2004-general
Expand Down Expand Up @@ -222,9 +223,6 @@ jobs:
- job: 'Analyze'
condition: and(succeeded(), ne(variables['Skip.Analyze'], 'true'))

variables:
- template: /eng/pipelines/templates/variables/globals.yml

pool:
name: azsdk-pool-mms-ubuntu-2004-general
vmImage: MMSUbuntu20.04
Expand Down
3 changes: 3 additions & 0 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ parameters:
type: string
default: not-specified

variables:
- template: /eng/pipelines/templates/variables/globals.yml

stages:
- stage: Build
jobs:
Expand Down
3 changes: 3 additions & 0 deletions eng/pipelines/templates/variables/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ variables:
skipComponentGovernanceDetection: true
DisableDockerDetector: true
Package.EnableSBOMSigning: true

# Disable CodeQL injections except for where we specifically enable it
Codeql.SkipTaskAutoInjection: true

0 comments on commit a8b512e

Please sign in to comment.