Merge pull request #11 from aparnajyothi-y/fix-codeql-failure
Fix for CodeQL analysis workflow failures
This commit is contained in:
commit
bf86532f72
8
.github/workflows/codeql-analysis.yml
vendored
8
.github/workflows/codeql-analysis.yml
vendored
@ -11,7 +11,7 @@ on:
|
|||||||
description: "Optional input to set languages for CodeQL check. Supported values are: 'cpp', 'csharp', 'go', 'java', 'javascript', 'typescript', 'python', 'ruby'. To set multiple languages, use the same syntax as you can see in the default value."
|
description: "Optional input to set languages for CodeQL check. Supported values are: 'cpp', 'csharp', 'go', 'java', 'javascript', 'typescript', 'python', 'ruby'. To set multiple languages, use the same syntax as you can see in the default value."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: "['javascript']"
|
default: '["javascript"]'
|
||||||
codeql-cfg-path:
|
codeql-cfg-path:
|
||||||
description: "Optional input to set path to a CodeQL config file"
|
description: "Optional input to set path to a CodeQL config file"
|
||||||
required: false
|
required: false
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: ${{matrix.language}}
|
languages: ${{matrix.language}}
|
||||||
config-file: ${{inputs.codeql-cfg-path}}
|
config-file: ${{inputs.codeql-cfg-path}}
|
||||||
@ -50,7 +50,7 @@ jobs:
|
|||||||
# If this step fails, configure a build command manually using build-command input. This command will be executed in the corresponding step.
|
# If this step fails, configure a build command manually using build-command input. This command will be executed in the corresponding step.
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
if: ${{!inputs.build-command}}
|
if: ${{!inputs.build-command}}
|
||||||
uses: github/codeql-action/autobuild@v2
|
uses: github/codeql-action/autobuild@v3
|
||||||
|
|
||||||
- name: Manual build
|
- name: Manual build
|
||||||
if: ${{inputs.build-command}}
|
if: ${{inputs.build-command}}
|
||||||
@ -58,4 +58,4 @@ jobs:
|
|||||||
${{inputs.build-command}}
|
${{inputs.build-command}}
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user