mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-06-24 20:28:12 +02:00
ci(codeql): add python analysis job
This commit is contained in:
parent
346eb0aa4f
commit
c13cb203cd
1 changed files with 20 additions and 1 deletions
21
.github/workflows/codeql.yml
vendored
21
.github/workflows/codeql.yml
vendored
|
|
@ -14,7 +14,7 @@ permissions:
|
||||||
actions: read
|
actions: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze-actions:
|
||||||
name: Analyze (actions)
|
name: Analyze (actions)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
@ -32,3 +32,22 @@ jobs:
|
||||||
uses: github/codeql-action/analyze@v4
|
uses: github/codeql-action/analyze@v4
|
||||||
with:
|
with:
|
||||||
category: /language:actions
|
category: /language:actions
|
||||||
|
|
||||||
|
analyze-python:
|
||||||
|
name: Analyze (python)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v4
|
||||||
|
with:
|
||||||
|
languages: python
|
||||||
|
build-mode: none
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v4
|
||||||
|
with:
|
||||||
|
category: /language:python
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue