Skip to content

Merge pull request #30 from adab-tech/security/persistent-rate-limits… #48

Merge pull request #30 from adab-tech/security/persistent-rate-limits…

Merge pull request #30 from adab-tech/security/persistent-rate-limits… #48

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
# Weekly scan catches new CodeQL query coverage even on weeks with no
# code changes — Monday 04:23 UTC (off-peak, arbitrary minute to avoid
# the exact-hour stampede other repos schedule against).
- cron: "23 4 * * 1"
permissions:
contents: read
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
# backend/ is Python; frontend/ is vanilla JS (no build step, no
# TypeScript) — CodeQL's javascript analyzer covers both JS and
# the frontend's plain HTML/CSS-adjacent script tags.
language: ["python", "javascript"]
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"