Skip to content

CodeQL

CodeQL #356

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "main" ]
paths:
- 'code/**'
- 'site/**'
pull_request:
branches: [ "main" ]
paths:
- 'code/**'
- 'site/**'
schedule:
- cron: '26 3 * * 6'
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python', 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
sparse-checkout-cone-mode: false
sparse-checkout: |
/*
!results
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"