已开启
openLiBing代码仓全面接入代码度量扫描插件 #2
YanZhaohong创建于 9月24日
openLiBing代码仓全面接入代码度量扫描插件 #2
已开启
YanZhaohong创建于 9月24日
YanZhaohong
YanZhaohong成员
9月24日

变更内容

openLiBing代码仓全面接入代码度量扫描插件:新增 .gitcode/workflows/code-metrics-scan.yml 工作流。

  • name 统一为 code-metrics-scan,触发方式 workflow_dispatch + push 默认分支(去掉 schedule)
  • 执行机 runs-on: ["self-hosted", "region=cn"]
  • checkout 步骤:公开仓不携带 token,私有仓携带 ${{ secrets.ROBOT_TOKEN }}
  • 插件引用由提交 sha 统一改为已发布 tag:openlibing/code-metrics-action@v1.0.3(原为 117c0606ad741ef5e6b564dca9307e25e1d9e2e8)

Fixes openlibing/code-metrics-action#14

关联 issue:https://gitcode.com/openlibing/code-metrics-action/issues/14

likedislike
合并受阻
YanZhaohongYanZhaohong成员
9月24日 添加了label:ai-assisted
openLiBingCI成员
9月24日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-openlibing/api-scan-action ✅ ozvale, eamon_xue (2/2) ✅ ozvale (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
YanZhaohongYanZhaohong成员
9月24日 添加了label:request-approve
OopenLiBingCI成员
9月24日 添加了label:needs-issue
openLiBingCI成员
9月24日 评论:

Linking Issue Notice

@yanzhaohong , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

likedislike
YanZhaohong
YanZhaohong成员
9月24日 评论:

/check-issue

likedislike
YanZhaohongYanZhaohong成员
9月24日 修改了pull request 的描述
YanZhaohong
YanZhaohong成员
9月24日 评论:

/check-issue

likedislike
OopenLiBingCI成员
9月24日 删除了label:needs-issue
YanZhaohong
YanZhaohong成员
26 天前 评论:

/pre-commit

likedislike
YanZhaohongYanZhaohong成员
26 天前 推送  1 个提交:05c9062c-ci(workflows): upgrade code-metrics-action to 117c0606
YanZhaohongYanZhaohong成员
25 天前 修改了pull request 的描述
YanZhaohongYanZhaohong成员
25 天前 添加了label:ci-pipeline-passed
Yubing0_0成员
25 天前 评论:

/lgtm

likedislike
吴志文成员24 天前进行代码检视2
.gitcode/workflows/code-metrics-scan.yml
@@ -0,0 +16,4 @@
16+ runs-on: ["self-hosted", "region=cn"]
17+ steps:
18+ - name: Checkout
19+ uses: checkout
吴志文24 天前评论:

PR 描述中提到 checkout 步骤会区分公开仓与私有仓:公开仓不携带 token,私有仓携带 ROBOT_TOKEN 凭证。但当前工作流的 Checkout 步骤是没有任何参数的裸引用,既没有 token 传参,也没有按仓库可见性区分的逻辑。如果这个工作流要作为各仓库统一接入的模板,私有仓库执行时将无法完成代码检出;如果它只服务于当前这类公开仓库,建议同步修正 PR 描述、去掉私有仓携带 token 的表述,避免描述与实际行为不符。

likedislike
YanZhaohong
YanZhaohong成员
24 天前 评论:

本仓为公开仓,不需要token传参

YanZhaohongYanZhaohong成员
24 天前 解决了最后一个问题
Yubing0_0成员
22 天前 评论:

/lgtm

likedislike
openLiBingCI成员
22 天前 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
Yubing0_0

likedislike
Yubing0_0成员
22 天前 评论:

/lgtm

likedislike
吴志文成员
22 天前 评论:

/approve

likedislike
吴吴志文成员
22 天前 删除了label:request-approve
OopenLiBingCI成员
22 天前 添加了label:lgtmapproved
openLiBingCI成员
22 天前 评论:

The following label is not ready.

ci-pipeline-passed: You can't add ci-pipeline-passed label manually. Please remove it and wait for the CI test to be completed.

likedislike
YanZhaohongYanZhaohong成员
22 天前 删除了label:ci-pipeline-passed
chenningchenning成员
22 天前 添加了label:ci-pipeline-passed
openLiBingCI成员
22 天前 评论:

The following label is not ready.

ci-pipeline-passed: You can't add ci-pipeline-passed label manually. Please remove it and wait for the CI test to be completed.

likedislike
YanZhaohongYanZhaohong成员
19 天前 删除了label:ci-pipeline-passed
YanZhaohongYanZhaohong成员
14 天前 修改了pull request 的描述
YanZhaohongYanZhaohong成员
14 天前 推送  1 个提交:7fa2ad4a-ci(workflows): pin code-metrics-action to v1.0.3 tag
OopenLiBingCI成员
14 天前 删除了label:lgtmapproved
openLiBingCI成员
14 天前 评论:

Notice

New code changes of the pull request are detected and remove these labels lgtm, approved. 😳

likedislike
YanZhaohongYanZhaohong成员
14 天前 修改了pull request 的描述
YanZhaohongYanZhaohong成员
14 天前 将ozvale设为评审人
吴志文成员
14 天前 评论:

/approve

likedislike
OopenLiBingCI成员
14 天前 添加了label:approved
XueYiMing成员
13 天前 评论:

/lgtm

likedislike
OopenLiBingCI成员
13 天前 添加了label:lgtm
吴志文成员4 天前进行代码检视1
.gitcode/workflows/code-metrics-scan.yml
吴志文4 天前评论:

【PR合规检视】检查结果:

检查项 结果 说明
ai-assisted 标签 ✅ 已打 ai-assisted 标签
CI 通过(ci-pipeline-passed) ❌ 缺少 ci-pipeline-passed 标签(CI 流水线通过标识)
关联 issue ✅ 关联 code-metrics-action#14、api-scan-action#14
测试人指定与测试通过(lgtm) ✅ 【审批前校验】平台 testers 属性为空(未指定测试人),但 lgtm 标签已在位(测试通过标识已具备):只需在 PR 属性「测试人员」指定测试人(刘东方(liudongfang)、徐愚冰(Yubing0_0)、赵威(z_awei)),无需重复执行 /lgtm 命令
标题/描述/变更文件/issue 一致性 ✅ 标题「openLiBing代码仓全面接入代码度量扫描插件」与关联 issue(code-metrics-action#14)标题一致;描述所述变更(新增 .gitcode/workflows/code-metrics-scan.yml)与实际变更文件清单一致;描述已声明 Fixes openlibing/code-metrics-action#14,主题一致
流水线通过(action 运行状态) ✅ 当前 PR 无 action 流水线运行记录(无可失败项,不阻断)

请修正上述 ❌ 项后解决本条检视意见,流程将自动重新检视。

ci-pipeline-passed 标签由平台机器人在 CI 流水线通过后自动打上、不能手动添加:请先确认流水线已触发并跑完;若已通过仍未打标,再检查流水线触发配置。

likedislike