File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " CodeQL Analysis"
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ schedule :
9+ - cron : ' 0 8 * * 1' # Every Monday at 8:00 UTC
10+
11+ jobs :
12+ analyze :
13+ name : Analyze (C#)
14+ runs-on : ubuntu-latest
15+ permissions :
16+ security-events : write
17+ packages : read
18+ actions : read
19+ contents : read
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ include :
25+ - language : csharp
26+ build-mode : autobuild
27+
28+ steps :
29+ - name : Checkout repository
30+ uses : actions/checkout@v4
31+
32+ - name : Setup .NET 10
33+ uses : actions/setup-dotnet@v4
34+ with :
35+ dotnet-version : ' 10.0.x'
36+
37+ - name : Initialize CodeQL
38+ uses : github/codeql-action/init@v3
39+ with :
40+ languages : ${{ matrix.language }}
41+ queries : security-extended,security-and-quality
42+
43+ - name : Autobuild
44+ uses : github/codeql-action/autobuild@v3
45+
46+ - name : Perform CodeQL Analysis
47+ uses : github/codeql-action/analyze@v3
48+ with :
49+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments