name: CodeQL # Static security analysis (free for public repositories). Scans the Python # backend and the vanilla-JS frontend on pushes, PRs, and weekly. on: push: branches: [main] pull_request: branches: [main] schedule: - cron: "23 5 * * 1" jobs: analyze: name: Analyze (${{ matrix.language }}) runs-on: ubuntu-latest permissions: security-events: write contents: read actions: read strategy: fail-fast: false matrix: language: [python, javascript] steps: - uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - name: Analyze uses: github/codeql-action/analyze@v3 with: category: "/language:${{ matrix.language }}"