name: Security / CodeQL on: push: branches: [main] pull_request: branches: [main] schedule: - cron: '0 1 * * 1' workflow_dispatch: permissions: actions: read contents: read packages: read security-events: write concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || 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: - name: Checkout repository uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4 with: languages: ${{ matrix.language }} build-mode: none - name: Perform CodeQL analysis uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4 with: category: /language:${{ matrix.language }}