[doc] revise some doc #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 此YAML文件定义了两个作业,分别用于进行安全扫描和开源合规的代码扫描,使用了相同的GitHub Action,并传入了不同的参数。 | |
name: Alipay Cloud Devops Codescan | |
on: | |
pull_request_target: | |
jobs: | |
# # stc作业使用了ubuntu-latest作为运行环境,包含了一个步骤(steps)codeScan,该步骤使用了layotto/alipay-cloud-devops-codescan@main作为GitHub Action,并传入了一些参数(parent_uid、private_key、code_type) | |
stc: # 安全扫描 | |
runs-on: ubuntu-latest | |
steps: | |
- name: codeScan | |
uses: layotto/alipay-cloud-devops-codescan@main | |
with: | |
parent_uid: ${{ secrets.ALI_PID }} | |
private_key: ${{ secrets.ALI_PK }} | |
scan_type: stc |