2024-04-10 09:42:38 -04:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-04-10 22:45:30 -04:00
|
|
|
branches: [ 10.8 ]
|
2024-04-10 09:42:38 -04:00
|
|
|
pull_request:
|
2024-04-10 22:45:30 -04:00
|
|
|
branches: [ 10.8 ]
|
2024-04-19 14:49:47 -04:00
|
|
|
paths-ignore:
|
|
|
|
- '**/README.md'
|
|
|
|
- '.github/ISSUE_TEMPLATE/**'
|
|
|
|
- 'docs/**'
|
|
|
|
- 'images/**'
|
|
|
|
- 'manifest.json'
|
2024-04-10 09:42:38 -04:00
|
|
|
|
2024-04-10 23:13:45 -04:00
|
|
|
permissions: write-all
|
2024-04-10 09:43:55 -04:00
|
|
|
|
2024-04-10 09:42:38 -04:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'csharp' ]
|
|
|
|
|
|
|
|
steps:
|
2024-04-10 14:40:29 -04:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
2024-04-10 09:42:38 -04:00
|
|
|
- name: Setup .NET
|
2024-04-10 14:40:29 -04:00
|
|
|
uses: actions/setup-dotnet@v4
|
2024-04-10 09:42:38 -04:00
|
|
|
with:
|
2024-04-10 14:40:29 -04:00
|
|
|
dotnet-version: 6.0.x
|
|
|
|
|
2024-04-10 09:42:38 -04:00
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
|
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
queries: +security-extended
|
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
|