Skip to content

Commit

Permalink
fix: path in codeql analysis report
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Oct 10, 2023
1 parent 0ce82d7 commit 035aa16
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: "CodeQL Analysis Report"

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: ["main"]
schedule:
- cron: '0 17 * * 4'
- cron: "0 17 * * 4"

jobs:
analyze:
Expand All @@ -21,27 +21,27 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'typescript' ]
node-version: [ '18.10.0' ]
language: ["typescript"]
node-version: ["18.10.0"]

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

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
continue-on-error: true
with:
languages: ${{ matrix.language }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
continue-on-error: true
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
path: "packages/core"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
path: "src/**"

0 comments on commit 035aa16

Please sign in to comment.