fix(ci): require iOS Periphery evidence artifact · openclaw/openclaw@1479078
vincentkoc
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,10 +12,14 @@ const PRODUCER_WORKFLOW_PATH = ".github/workflows/ios-periphery.yml";
|
12 | 12 | const ARTIFACT_NAME = "ios-periphery-dead-code-12345-2"; |
13 | 13 | |
14 | 14 | type WorkflowStep = { |
| 15 | +if?: string; |
15 | 16 | id?: string; |
16 | 17 | name?: string; |
| 18 | +uses?: string; |
17 | 19 | with?: { |
| 20 | +"if-no-files-found"?: string; |
18 | 21 | name?: string; |
| 22 | +path?: string; |
19 | 23 | script?: string; |
20 | 24 | }; |
21 | 25 | }; |
@@ -436,6 +440,9 @@ describe("iOS Periphery comment workflow", () => {
|
436 | 440 | expect(upload?.with?.name).toBe( |
437 | 441 | "ios-periphery-dead-code-${{ github.run_id }}-${{ github.run_attempt }}", |
438 | 442 | ); |
| 443 | +expect(upload?.if).toBe("always()"); |
| 444 | +expect(upload?.with?.path).toBe("${{ runner.temp }}/ios-periphery"); |
| 445 | +expect(upload?.with?.["if-no-files-found"]).toBe("error"); |
439 | 446 | }); |
440 | 447 | |
441 | 448 | it("runs scope detection for PR transitions that can clear stale findings", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。