ci: isolate manual install smoke runs

This commit is contained in:
Peter Steinberger
2026-04-23 20:43:58 +01:00
parent 010b13e6e9
commit 6471e0cdce
2 changed files with 2 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ permissions:
contents: read
concurrency:
group: ${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || format('{0}-{1}', github.workflow, github.ref) }}
group: ${{ github.event_name == 'workflow_dispatch' && format('{0}-manual-{1}', github.workflow, github.run_id) || github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || format('{0}-{1}', github.workflow, github.ref) }}
cancel-in-progress: true
env:

View File

@@ -118,6 +118,7 @@ describe("bun global install smoke", () => {
expect(workflow).toContain(
"OPENCLAW_BUN_GLOBAL_SMOKE_DIST_IMAGE: openclaw-dockerfile-smoke:local",
);
expect(workflow).toContain("format('{0}-manual-{1}', github.workflow, github.run_id)");
expect(workflow).toContain("OPENCLAW_CI_FORCE_INSTALL_SMOKE");
expect(workflow).toContain('if [ "$force_install_smoke" = "true" ]; then');
});