name: "CodeQL" on: push: branches: [ 10.8 ] paths-ignore: - '**/README.md' - '.github/ISSUE_TEMPLATE/**' - 'docs/**' - 'images/**' - 'manifest.json' pull_request: branches: [ 10.8 ] paths-ignore: - '**/README.md' - '.github/ISSUE_TEMPLATE/**' - 'docs/**' - 'images/**' - 'manifest.json' permissions: write-all jobs: analyze: name: Analyze runs-on: ubuntu-latest strategy: fail-fast: false matrix: language: [ 'csharp' ] steps: - uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore - name: Initialize CodeQL uses: github/codeql-action/init@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4 with: languages: ${{ matrix.language }} queries: +security-extended - name: Autobuild uses: github/codeql-action/autobuild@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4