Skip to content

CodeQL

CodeQL #581

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly scan every Monday at 08:00 UTC
- cron: "0 8 * * 1"
jobs:
analyze:
name: Analyze (TypeScript)
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
- uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v3
with:
languages: javascript-typescript
queries: security-and-quality
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22
cache: "pnpm"
- run: pnpm install --frozen-lockfile --ignore-scripts
- run: pnpm build
- uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v3
with:
category: /language:javascript-typescript