Skip to content

Commit

Permalink
for testing10
Browse files Browse the repository at this point in the history
  • Loading branch information
IITI-tushar committed Dec 18, 2024
1 parent eaa492f commit 34f9bcd
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/codeql-codescan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,24 @@ jobs:
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'typescript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
languages: typescript
debug: true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "language-${{ matrix.language }}"
output: results-${{ matrix.language }}.sarif # Generates SARIF file in current directory
category: "language-typescript"
output: results-typescript.sarif # Generates SARIF file in current directory

- name: Upload SARIF to GitHub Security
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results-${{ matrix.language }}.sarif
category: "language-${{ matrix.language }}"
sarif_file: results-typescript.sarif
category: "language-typescript"

0 comments on commit 34f9bcd

Please sign in to comment.