Skip to content

Commit

Permalink
Merge pull request #11 from aparnajyothi-y/fix-codeql-failure
Browse files Browse the repository at this point in the history
Fix for CodeQL analysis workflow failures
  • Loading branch information
HarithaVattikuti authored Jul 18, 2024
2 parents 5e63e7a + 8b0de5e commit bf86532
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
required: false
type: string
default: "['javascript']"
default: '["javascript"]'
codeql-cfg-path:
description: "Optional input to set path to a CodeQL config file"
required: false
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{matrix.language}}
config-file: ${{inputs.codeql-cfg-path}}
Expand All @@ -50,12 +50,12 @@ jobs:
# If this step fails, configure a build command manually using build-command input. This command will be executed in the corresponding step.
- name: Autobuild
if: ${{!inputs.build-command}}
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Manual build
if: ${{inputs.build-command}}
run: |
${{inputs.build-command}}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3

0 comments on commit bf86532

Please sign in to comment.