Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theslash84 authored Apr 12, 2024
1 parent 9b5a4c1 commit 7b734eb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16' # Replace with the Node.js version you use
node-version: '16' # Ensure this matches the Node.js version your project requires

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand All @@ -36,10 +36,13 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
# This is the correct way to specify the output file for the SARIF if needed
output: results/javascript.sarif

- name: Upload SARIF file
uses: actions/upload-artifact@v2
if: always() # Ensure upload happens even if previous steps fail
with:
name: codeql-failed-run
path: path/to/codeql-failed-run.sarif

name: codeql-artifacts
path: results/javascript.sarif

0 comments on commit 7b734eb

Please sign in to comment.