test(release): update workflow concurrency expectations · openclaw/openclaw@eea7170
steipete
·
2026-05-20
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -763,7 +763,7 @@ describe("package artifact reuse", () => {
|
763 | 763 | '-f rerun_group="$child_rerun_group"', |
764 | 764 | 'args+=(-f live_suite_filter="$LIVE_SUITE_FILTER")', |
765 | 765 | 'args+=(-f cross_os_suite_filter="$CROSS_OS_SUITE_FILTER")', |
766 | | -"cancel-in-progress: ${{ inputs.ref == 'main' && inputs.rerun_group == 'all' }}", |
| 766 | +"cancel-in-progress: ${{ (inputs.ref == 'main' && inputs.rerun_group == 'all') || startsWith(inputs.ref, 'tideclaw/alpha/') }}", |
767 | 767 | "gh run cancel", |
768 | 768 | "NORMAL_CI_RESULT: ${{ needs.normal_ci.result }}", |
769 | 769 | ]); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -469,11 +469,12 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
|
469 | 469 | expect(releaseChecksWorkflow.concurrency).toEqual({ |
470 | 470 | group: |
471 | 471 | "openclaw-release-checks-${{ inputs.expected_sha || inputs.ref }}-${{ inputs.rerun_group }}", |
472 | | -"cancel-in-progress": false, |
| 472 | +"cancel-in-progress": "${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}", |
473 | 473 | }); |
474 | 474 | expect(fullReleaseWorkflow.concurrency).toEqual({ |
475 | 475 | group: "full-release-validation-${{ inputs.ref }}-${{ inputs.rerun_group }}", |
476 | | -"cancel-in-progress": "${{ inputs.ref == 'main' && inputs.rerun_group == 'all' }}", |
| 476 | +"cancel-in-progress": |
| 477 | +"${{ (inputs.ref == 'main' && inputs.rerun_group == 'all') || startsWith(inputs.ref, 'tideclaw/alpha/') }}", |
477 | 478 | }); |
478 | 479 | expect(releaseChecksWorkflow.jobs.resolve_target["runs-on"]).toBe("ubuntu-24.04"); |
479 | 480 | expect(releaseChecksWorkflow.jobs.prepare_release_package["runs-on"]).toBe("ubuntu-24.04"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。