Skip to content

Commit

Permalink
add excludepath pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
arroyc committed Apr 6, 2024
1 parent 6929adf commit 2a4f256
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ado-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
- task: CodeQL3000Init@0
inputs:
Enabled: true
Language: javascript
Language: javascript
ExcludePathPatterns: $(Build.SourcesDirectory)/tests/**/*.java, $(Build.SourcesDirectory)/tests/**/*.py, $(Build.SourcesDirectory)/tests

# Build tasks
# Build tasks no needed for javascript
# CodeQL WILL NOT WORK for compiled languages if there are no build tasks here
- pwsh: '& .\release.ps1'
displayName: 'Build project with javascript library'
#- pwsh: '& .\release.ps1'
# displayName: 'Build project with javascript library'

- task: CodeQL3000Finalize@0
condition: always()

0 comments on commit 2a4f256

Please sign in to comment.