name: CodeQL on: push: branches: [master] paths: - 'roboco/**' - 'agents/**' - 'alembic/**' - 'scripts/**' - 'panel/**' - 'pyproject.toml' - '.github/workflows/code-ql.yml' pull_request: branches: [master] paths: - 'roboco/**' - 'agents/**' - 'alembic/**' - 'scripts/**' - 'panel/**' - 'pyproject.toml' - '.github/workflows/code-ql.yml' schedule: - cron: '0 0 * * 1' workflow_dispatch: jobs: analyze: name: Analyze (${{ matrix.language }}) runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: include: - language: python build-mode: none - language: javascript-typescript build-mode: none steps: - name: Checkout code uses: actions/checkout@v6 - name: Initialize CodeQL uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v4 with: category: "/language:${{ matrix.language }}"