Skip to content

Commit

Permalink
Add CodeQL workflow for Python
Browse files Browse the repository at this point in the history
  • Loading branch information
bittor7x0 committed Feb 11, 2024
1 parent f51593b commit a2d3106
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/code-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,22 @@ jobs:
-Dsonar.organization=bittor7x0
-Dsonar.projectKey=bittor7x0_kodi-script-autoruns
-Dsonar.python.version=3.7,3.8,3.9,3.10
codeql-scan:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:python"

0 comments on commit a2d3106

Please sign in to comment.