Skip to content

CodeQL

CodeQL #124

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "master" ]
schedule:
- cron: '0 8 * * 1'
jobs:
analyze:
name: Scan
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Prepare python
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'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Prepare artifacts for scan results
if: success()
uses: actions/upload-artifact@v3
with:
name: codeql-artifacts
path: ${{ runner.workspace }}/results
if-no-files-found: ignore