-
Notifications
You must be signed in to change notification settings - Fork 7
32 lines (32 loc) · 795 Bytes
/
Copy pathcodeql.yml
File metadata and controls
32 lines (32 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '30 1 * * 6'
jobs:
codeql:
name: Analyze
permissions:
actions: read
contents: read
security-events: write
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Initialize CodeQL
uses: github/codeql-action/init@v4.38.1
with:
languages: csharp
- name: Setup .NET Core
uses: actions/setup-dotnet@v6
with:
dotnet-version: '10.0.x'
dotnet-quality: 'preview'
- name: Autobuild
uses: github/codeql-action/autobuild@v4.38.1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4.38.1