Skip to content

CodeQL

CodeQL #655

name: "CodeQL"
concurrency:
group: codeql
cancel-in-progress: true
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: '41 0 * * 2'
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@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup Python
if: ${{ matrix.language == 'python' }}
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Build Application using script
if: ${{ matrix.language == 'python' }}
run: |
python -m pip install build
python -m build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3