Skip to content

CodeQL

CodeQL #122

name: "CodeQL"
on:
schedule:
# Execute every day at 2:00
- cron: '0 2 * * *'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Install a Python compatible with pyproject (necessary later for
# `github/codeql-action/init`)
- uses: actions/setup-python@v4
with:
python-version: '3.11'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
config-file: ./.github/codeql-config.yml
setup-python-dependencies: true
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2