--- name: CodeQL Checks on: push: branches: - master - patch pull_request: branches: - master - patch - 'feat/**' - 'fix/**' - 'janitor/**' schedule: - cron: '44 17 * * 3' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: analyze: name: Analyze runs-on: ubuntu-latest env: CODEQL_ACTION_FILE_COVERAGE_ON_PRS: true permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: [python] steps: - name: Checkout Source Files id: checkout uses: actions/checkout@v7.0.1 - name: Initialize CodeQL id: init-codeql uses: github/codeql-action/init@v4.39.1 with: languages: ${{ matrix.language }} - name: Perform CodeQL Analysis id: perform-codeql-analysis uses: github/codeql-action/analyze@v4.39.1