Skip to content

Commit 6b4ceec

Browse files
authored
Create cloud_code_scan.yml
1 parent 81fcb24 commit 6b4ceec

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/cloud_code_scan.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Alipay Cloud Devops Codescan
2+
on:
3+
pull_request_target:
4+
jobs:
5+
stc: # Code security scanning
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: codeScan
9+
uses: layotto/alipay-cloud-devops-codescan@main
10+
with:
11+
parent_uid: ${{ secrets.ALI_PID }}
12+
private_key: ${{ secrets.ALI_PK }}
13+
scan_type: stc
14+
sca: # Open source compliance scanning
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: codeScan
18+
uses: layotto/alipay-cloud-devops-codescan@main
19+
with:
20+
parent_uid: ${{ secrets.ALI_PID }}
21+
private_key: ${{ secrets.ALI_PK }}
22+
scan_type: sca

0 commit comments

Comments
 (0)