File tree 1 file changed +43
-0
lines changed 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : " CodeQL"
3
+
4
+ on :
5
+ push :
6
+ branches : [ main ]
7
+ pull_request :
8
+ # The branches below must be a subset of the branches above
9
+ branches : [ main ]
10
+ schedule :
11
+ - cron : ' 20 11 * * 1'
12
+
13
+ jobs :
14
+ analyze :
15
+ name : Analyze
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ actions : read
19
+ contents : read
20
+ security-events : write
21
+
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ language : [ 'python' ]
26
+
27
+ steps :
28
+ - name : Checkout repository
29
+ uses : actions/checkout@v3
30
+
31
+ # Initializes the CodeQL tools for scanning.
32
+ - name : Initialize CodeQL
33
+ uses : github/codeql-action/init@v1
34
+ with :
35
+ languages : ${{ matrix.language }}
36
+
37
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
38
+ # If this step fails, then you should remove it and run the build manually (see below)
39
+ - name : Autobuild
40
+ uses : github/codeql-action/autobuild@v1
41
+
42
+ - name : Perform CodeQL Analysis
43
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments