File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Static Analysis: Bandit Scan"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " pull-request/[0-9]+"
7
+ - " main"
8
+
9
+ jobs :
10
+ analyze :
11
+ runs-on : ubuntu-latest
12
+ permissions :
13
+ security-events : write
14
+ steps :
15
+ - name : Perform Bandit Analysis
16
+ uses : PyCQA/bandit-action@8a1b30610f61f3f792fe7556e888c9d7dffa52de # v1.0.0
Original file line number Diff line number Diff line change
1
+ name : " Static Analysis: CodeQL Scan"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " pull-request/[0-9]+"
7
+ - " main"
8
+
9
+ jobs :
10
+ analyze :
11
+ name : Analyze (${{ matrix.language }})
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ security-events : write
15
+
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ include :
20
+ - language : python
21
+ build-mode : none
22
+ steps :
23
+ - name : Checkout repository
24
+ uses : actions/checkout@v4
25
+
26
+ - name : Initialize CodeQL
27
+ uses : github/codeql-action/init@v3
28
+ with :
29
+ languages : ${{ matrix.language }}
30
+ build-mode : ${{ matrix.build-mode }}
31
+ queries : security-extended
32
+
33
+ - name : Perform CodeQL Analysis
34
+ uses : github/codeql-action/analyze@v3
35
+ with :
36
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments