Skip to content

Commit

Permalink
Some codeQL options belong in a separate file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ari committed Mar 2, 2022
1 parent 30de323 commit 0354b0c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: "onCourse CodeQL config"

queries:
- uses: security-and-quality

paths-ignore:
- '**/build/generated-resources/**'
- '**/build/generated-sources/**'
5 changes: 1 addition & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ jobs:
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
queries: security-and-quality
paths-ignore:
- '**/build/generated-resources/**'
- '**/build/generated-sources/**'
config-file: ./.github/codeql-config.yml

- name: Autobuild
uses: github/codeql-action/autobuild@v1
Expand Down

0 comments on commit 0354b0c

Please sign in to comment.