Skip to content

CodeQL

CodeQL #401

Workflow file for this run

name: "CodeQL"
on:
push:
branches: '*'
pull_request:
branches: '*'
paths-ignore:
- '**/*.md'
- '**/*.rst'
schedule:
- cron: "3 2 * * 2"
jobs:
analyze:
timeout-minutes: 20
name: Analyze
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies to help the code scanner
run: pip install .[dev]
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
config-file: ./.github/codeql/codeql-config.yml
queries: +security-and-quality
# Manually install deps, as CodeQL tries to install the empty requirements.txt
setup-python-dependencies: false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2