File tree 1 file changed +40
-0
lines changed
1 file changed +40
-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
+ workflow_call :
9
+
10
+ jobs :
11
+ analyze :
12
+ name : Analyze python
13
+ runs-on : ' ubuntu-latest'
14
+ timeout-minutes : 360
15
+ permissions :
16
+ # required for all workflows
17
+ security-events : write
18
+
19
+ # required to fetch internal or private CodeQL packs
20
+ packages : read
21
+
22
+ # only required for workflows in private repositories
23
+ actions : read
24
+ contents : read
25
+
26
+ steps :
27
+ - name : Checkout repository
28
+ uses : actions/checkout@v4
29
+
30
+ # Initializes the CodeQL tools for scanning.
31
+ - name : Initialize CodeQL
32
+ uses : github/codeql-action/init@v3
33
+ with :
34
+ languages : python
35
+ build-mode : none
36
+ - name : Perform CodeQL Analysis
37
+ uses : github/codeql-action/analyze@v3
38
+ with :
39
+ category : " /language:python"
40
+
You can’t perform that action at this time.
0 commit comments