ci: cancel superseded release validation runs · openclaw/openclaw@e8d23e5
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -287,6 +287,23 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
|
287 | 287 | ]); |
288 | 288 | }); |
289 | 289 | |
| 290 | +it("cancels superseded manual release validation runs for the same target and group", () => { |
| 291 | +const releaseChecksWorkflow = parse( |
| 292 | +readFileSync(".github/workflows/openclaw-release-checks.yml", "utf8"), |
| 293 | +); |
| 294 | +const fullReleaseWorkflow = readFullReleaseValidationWorkflow(); |
| 295 | + |
| 296 | +expect(releaseChecksWorkflow.concurrency).toEqual({ |
| 297 | +group: |
| 298 | +"openclaw-release-checks-${{ inputs.expected_sha || inputs.ref }}-${{ inputs.rerun_group }}", |
| 299 | +"cancel-in-progress": true, |
| 300 | +}); |
| 301 | +expect(fullReleaseWorkflow.concurrency).toEqual({ |
| 302 | +group: "full-release-validation-${{ inputs.ref }}-${{ inputs.rerun_group }}", |
| 303 | +"cancel-in-progress": true, |
| 304 | +}); |
| 305 | +}); |
| 306 | + |
290 | 307 | it("keeps the live-ish availability check redacted", () => { |
291 | 308 | const output = execFileSync( |
292 | 309 | process.execPath, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。