63b27f0292
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
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@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
queries: +security-extended
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
|