File tree Expand file tree Collapse file tree 1 file changed +18
-20
lines changed Expand file tree Collapse file tree 1 file changed +18
-20
lines changed Original file line number Diff line number Diff line change 1
- name : build
1
+ name : Security Analysis
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
7
pull_request :
8
+ branches :
9
+ - main
8
10
9
- jobs :
10
- Bearer :
11
- runs-on : ubuntu-latest
12
- steps :
13
- - name : Checkout source code
14
- uses : actions/checkout@v4
15
- - name : Run Report
16
- id : report
17
- uses : bearer/bearer-action@v2
18
- # - name: upload Bearer scan SARIF report
19
- # uses: github/codeql-action/upload-sarif@v3
20
- # with:
21
- # sarif_file: ${{ steps.report.outputs.sarif }}
22
-
11
+ jobs :
23
12
Anchore :
24
13
runs-on : ubuntu-latest
25
14
steps :
31
20
with :
32
21
path : " ."
33
22
# fail-build: false
34
- output-format : table
35
- # - name: upload Anchore scan SARIF report
36
- # uses: github/codeql-action/upload-sarif@v3
37
- # with:
38
- # sarif_file: ${{ steps.scan.outputs.sarif }}
23
+ # output-format: table
24
+ - name : upload Anchore scan SARIF report
25
+ uses : github/codeql-action/upload-sarif@v3
26
+ with :
27
+ sarif_file : ${{ steps.scan.outputs.sarif }}
28
+
29
+ Bearer :
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - name : Checkout source code
33
+ uses : actions/checkout@v4
34
+ - name : Run Report
35
+ id : report
36
+ uses : bearer/bearer-action@v2
You can’t perform that action at this time.
0 commit comments