Skip to content

CodeQL

CodeQL #8

Workflow file for this run

name: CodeQL
on:
push: { branches: [main] }
pull_request: { branches: [main] }
schedule: [{ cron: "37 3 * * 0" }] # weekly full scan
jobs:
analyze:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
actions: read
steps:
- uses: actions/checkout@v7
- uses: github/codeql-action/init@v4
with:
languages: python
queries: security-extended,security-and-quality
- uses: github/codeql-action/analyze@v4
with:
category: "/language:python"