File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " codeql-scanning"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - ' release/*'
8
+ pull_request :
9
+ branches :
10
+ - main
11
+ - ' release/*'
12
+ schedule :
13
+ - cron : ' 0 9 * * *'
14
+
15
+ jobs :
16
+ CodeQL-Scanning :
17
+
18
+ runs-on : ubuntu-latest
19
+
20
+ permissions :
21
+ contents : read
22
+ security-events : write
23
+ pull-requests : read
24
+
25
+ steps :
26
+ - name : Checkout repository
27
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
28
+ with :
29
+ submodules : recursive
30
+
31
+ - name : Install golang
32
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # 5.3.0
33
+ with :
34
+ go-version : ' 1.21.13'
35
+
36
+ # Initializes the CodeQL tools for scanning.
37
+ - name : Initialize CodeQL
38
+ uses : github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # 3.28.8
39
+ with :
40
+ languages : go
41
+
42
+ - name : Perform CodeQL Analysis
43
+ uses : github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # 3.28.8
You can’t perform that action at this time.
0 commit comments