Skip to content

CodeQL

CodeQL #97

Workflow file for this run

name: CodeQL
# Static security analysis on push and PR. Free for public repos.
# Findings surface in the Security tab.
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
# Weekly re-scan so new advisories applied to old code are surfaced.
- cron: '23 7 * * 1'
permissions:
actions: read
contents: read
security-events: write
concurrency:
group: codeql-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze ${{ matrix.language }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [python, javascript-typescript]
steps:
- uses: actions/checkout@v7
- uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- uses: github/codeql-action/analyze@v4
with:
category: "/language:${{ matrix.language }}"