File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2024 Ledger SAS
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ name : " CodeQL"
6
+
7
+ on :
8
+ push :
9
+ branches : [ "main" ]
10
+ pull_request :
11
+ branches : [ "main" ]
12
+ schedule :
13
+ - cron : ' 36 6 * * 1'
14
+
15
+ jobs :
16
+ analyze :
17
+ name : Analyze python
18
+ runs-on : ' ubuntu-latest'
19
+ timeout-minutes : 360
20
+ permissions :
21
+ # required for all workflows
22
+ security-events : write
23
+
24
+ # required to fetch internal or private CodeQL packs
25
+ packages : read
26
+
27
+ # only required for workflows in private repositories
28
+ actions : read
29
+ contents : read
30
+
31
+ steps :
32
+ - name : Checkout repository
33
+ uses : actions/checkout@v4
34
+
35
+ # Initializes the CodeQL tools for scanning.
36
+ - name : Initialize CodeQL
37
+ uses : github/codeql-action/init@v3
38
+ with :
39
+ languages : python
40
+ build-mode : none
41
+ - name : Perform CodeQL Analysis
42
+ uses : github/codeql-action/analyze@v3
43
+ with :
44
+ category : " /language:python"
45
+
You can’t perform that action at this time.
0 commit comments