File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : code-scan
2
+
3
+ on :
4
+ push :
5
+ branches : [ dev* ]
6
+ pull_request :
7
+ branches : [ dev* ]
8
+ schedule :
9
+ - cron : " 0 12 * * MON"
10
+ workflow_dispatch :
11
+
12
+ permissions :
13
+ actions : read
14
+ contents : read
15
+
16
+ jobs :
17
+ code-ql :
18
+
19
+ runs-on : ubuntu-latest
20
+
21
+ permissions :
22
+ security-events : write
23
+
24
+ strategy :
25
+ fail-fast : false
26
+ matrix :
27
+ language : [ "csharp" ]
28
+
29
+ steps :
30
+ - name : Checkout repository
31
+ uses : actions/checkout@v3
32
+
33
+ - name : Setup .NET SDK
34
+ uses : actions/setup-dotnet@v3
35
+
36
+ - name : Initialize CodeQL
37
+ uses : github/codeql-action/init@v2
38
+ with :
39
+ languages : ${{ matrix.language }}
40
+
41
+ - name : Autobuild
42
+ uses : github/codeql-action/autobuild@v2
43
+
44
+ - name : Perform CodeQL Analysis
45
+ uses : github/codeql-action/analyze@v2
46
+ with :
47
+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments