Skip to content

Security Analysis

Security Analysis #4

Workflow file for this run

name: Security Analysis
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
schedule:
- cron: '0 6 * * 1'
jobs:
codeql:
name: CodeQL Analysis
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
matrix:
language: [ 'python', 'javascript' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Install dependencies (Python)
if: matrix.language == 'python'
working-directory: backend
run: |
pip install uv
uv sync --all-extras --dev
- name: Install dependencies (JS)
working-directory: frontend
if: matrix.language == 'javascript'
run: |
npm ci
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3