--- 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 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@v6 - name: Initialize CodeQL id: init-codeql uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} - name: Perform CodeQL Analysis id: perform-codeql-analysis uses: github/codeql-action/analyze@v4