name: CodeQL on: push: branches: - main - patch-release - next - "!renovate/**" pull_request: branches: - main - patch-release - next - "!renovate/**" permissions: actions: read contents: read security-events: write concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: analyze: name: Analyze runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3.1.0 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: config-file: ./.github/codeql/codeql-config.yml - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2