已关闭
[CI]: 为 MindSpeed-Ops PR 流水线增加 SCA 与防投毒检查 #70
BOCHENGZHANG创建于 14 天前关闭于 9 天前
14 天前 关联了pull request:ci: add SCA and Antipoison checks to PR pipeline
xmz
10 天前 评论:
10 天前 评论:
https://gitcode.com/Ascend/MindSpeed-Ops/pull/160
PR已提,预计9月15日合入


9 天前 关闭了 issue
9 天前 issue状态由 TODO 改变为 DONE
9 天前 添加了label:resolved
背景
MindSpeed-Ops 已具备 GitCode PR 验证流水线(见 #67 / PR #154)。本次在现有流水线基础上,为 PR 增加两个安全检查插件。
目标
openlibing/sca-action/sca-pr-action@v1.0.0openlibing/malicious-code-scan-action/malicious-code-pr-scan-action@v1.0.0改动范围
.gitcode/workflows/pr-pipeline-mindspeed-ops.ymlself-hosted/x86/cpu=32)pr_comment触发并调整pull_request_comment触发表达式repository: read/id-token: write)openlibing/pre-commit-action@v1.0.0,Python 环境改为 3.11allow-unsafe-pr-checkout以检出 PR 预合并代码测试计划
compile评论触发流水线,核对 SCA、Antipoison、CodeCheck_pre_commit、Detect_file_changes 及四路 UT 全部运行并符合预期。验收标准