File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ name : flawfinder
7
+
8
+ on :
9
+ push :
10
+ branches : [ "master" ]
11
+ pull_request :
12
+ # The branches below must be a subset of the branches above
13
+ branches : [ "master" ]
14
+ schedule :
15
+ - cron : ' 42 1 * * 3'
16
+
17
+ jobs :
18
+ flawfinder :
19
+ name : Flawfinder
20
+ runs-on : ubuntu-latest
21
+ permissions :
22
+ actions : read
23
+ contents : read
24
+ security-events : write
25
+ steps :
26
+ - name : Checkout code
27
+ uses : actions/checkout@v3
28
+
29
+ - name : flawfinder_scan
30
+ uses : david-a-wheeler/flawfinder@8e4a779ad59dbfaee5da586aa9210853b701959c
31
+ with :
32
+ arguments : ' --sarif ./'
33
+ output : ' flawfinder_results.sarif'
34
+
35
+ - name : Upload analysis results to GitHub Security tab
36
+ uses : github/codeql-action/upload-sarif@v2
37
+ with :
38
+ sarif_file : ${{github.workspace}}/flawfinder_results.sarif
You can’t perform that action at this time.
0 commit comments