Skip to content

Commit 77854c0

Browse files
authored
Update codeql-analysis.yml
Fixing codeql warning
1 parent 3526850 commit 77854c0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ "master" ]
16+
branches: [ master ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ "master" ]
19+
branches: [ master ]
2020
schedule:
2121
- cron: '15 2 * * 4'
2222

@@ -28,9 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
include:
32-
- language: python
33-
build-mode: none
31+
language: [ 'python' ]
3432
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3533
# Learn more:
3634
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
@@ -44,7 +42,6 @@ jobs:
4442
uses: github/codeql-action/init@v3
4543
with:
4644
languages: ${{ matrix.language }}
47-
build-mode: ${{ matrix.build-mode }}
4845
# If you wish to specify custom queries, you can do so here or in a config file.
4946
# By default, queries listed here will override any specified in a config file.
5047
# Prefix the list here with "+" to use these queries and those in the config file.
@@ -67,4 +64,4 @@ jobs:
6764
# make release
6865

6966
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v3
67+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)