Skip to content

Commit

Permalink
ignore project __init__.py from code scanning (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Aug 22, 2023
1 parent f08b910 commit 390cefb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
languages: ${{ matrix.language }}

paths-ignore:
- src/project_name/__init__.py
4 changes: 1 addition & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
paths-ignore:
- src/project_name/__init__.py
config-file: ./.github/codeql/codeql-config.yml

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

0 comments on commit 390cefb

Please sign in to comment.