Skip to content

Rabbitfrei

Rabbitfrei #1997

name: CodeQL Extended
on:
pull_request:
schedule:
- cron: '0 9 * * 1' # Monday morning at 9am
jobs:
analyze:
name: Analyze Python code
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
python-version: [3.11, 3.12, 3.13, 3.14]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: python
build-mode: none
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:python"