Skip to content

CodeQL Analysis

CodeQL Analysis #525

name: CodeQL Analysis
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: '0 0 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["javascript", "python"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
# Human tasks:
# TODO: Review and adjust the CodeQL analysis configuration if needed
# TODO: Ensure the correct branches are specified for push and pull_request events
# TODO: Verify that the selected languages (javascript and python) cover all languages used in the project