Skip to content

Commit

Permalink
ci(): fix codeql action (#8306)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 authored Sep 21, 2022
1 parent 5e184b2 commit 1d865f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
paths:
- src
- lib
10 changes: 4 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ on:
schedule:
- cron: '28 13 * * 4'

paths:
- src
- lib

jobs:
analyze:
name: Analyze
Expand All @@ -46,9 +42,11 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}

# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
Expand All @@ -66,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2

0 comments on commit 1d865f2

Please sign in to comment.