Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Duan-0916 authored Nov 1, 2023
1 parent df3043b commit f7ab549
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: codeScan
id: stc-scan
uses: layotto/alipay-cloud-devops-codescan@test2023-10-16
with:
parent_uid: ${{ secrets.ALI_PID }}
private_key: ${{ secrets.ALI_PK }}
code_type: stc
code_type: stc
- name: Output Link
if: always()
run: |
echo "Link: [Code Scan Result](https://devops.cloud.alipay.com/project/5603361/${{ github.job }}/pipeline/details/${{ steps.stc-scan.outputs.result_link }})"
sca: # 开源合规
runs-on: ubuntu-latest
steps:
- name: codeScan
id: sca-scan
uses: layotto/alipay-cloud-devops-codescan@test2023-10-16
with:
parent_uid: ${{ secrets.ALI_PID }}
private_key: ${{ secrets.ALI_PK }}
code_type: sca


- name: Output Link
if: always()
run: |
echo "Link: [Code Scan Result](https://devops.cloud.alipay.com/project/5603361/${{ github.job }}/pipeline/details/${{ steps.sca-scan.outputs.result_link }})"

0 comments on commit f7ab549

Please sign in to comment.