Skip to content

Commit ca6f3ff

Browse files
authored
Merge pull request #18742 from github/oscarsj/add-actions-analysis
Add actions to codeql analysis workflow
2 parents eddd724 + 8b33dcd commit ca6f3ff

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/codeql/codeql-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ paths-ignore:
88
- '/java/'
99
- '/python/'
1010
- '/javascript/ql/test'
11+
- '/javascript/ql/integration-tests'
1112
- '/javascript/extractor/tests'
1213
- '/rust/ql'

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818

1919
jobs:
2020
CodeQL-Build:
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: ['actions', 'csharp']
2125

2226
runs-on: ubuntu-latest
2327

@@ -38,9 +42,8 @@ jobs:
3842
# Initializes the CodeQL tools for scanning.
3943
- name: Initialize CodeQL
4044
uses: github/codeql-action/init@main
41-
# Override language selection by uncommenting this and choosing your languages
4245
with:
43-
languages: csharp
46+
languages: ${{ matrix.language }}
4447
config-file: ./.github/codeql/codeql-config.yml
4548

4649
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).

0 commit comments

Comments
 (0)