From 65aa6c8a7789b2f8388ca76ec2f9fc224d6e040d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 15 May 2026 07:30:08 +0100 Subject: [PATCH] test(ci): update installer sync workflow assertion --- test/scripts/website-installer-sync-workflow.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/scripts/website-installer-sync-workflow.test.ts b/test/scripts/website-installer-sync-workflow.test.ts index 1dae24a9249..8cad5e158e5 100644 --- a/test/scripts/website-installer-sync-workflow.test.ts +++ b/test/scripts/website-installer-sync-workflow.test.ts @@ -42,7 +42,9 @@ describe("website installer sync workflow", () => { it("syncs verified scripts to openclaw.ai only after all installer checks pass", () => { expect(workflow).toContain("needs: [static, linux-docker, macos-installer, windows-installer]"); expect(workflow).toContain("repository: openclaw/openclaw.ai"); - expect(workflow).toContain("token: ${{ secrets.OPENCLAW_GH_TOKEN }}"); + expect(workflow).toContain("OPENCLAW_GH_TOKEN: ${{ secrets.OPENCLAW_GH_TOKEN }}"); + expect(workflow).toContain("OPENCLAW_GH_TOKEN is not configured"); + expect(workflow).toContain("token: ${{ env.OPENCLAW_GH_TOKEN }}"); expect(workflow).toContain("cp openclaw/scripts/install.sh openclaw.ai/public/install.sh"); expect(workflow).toContain( "cp openclaw/scripts/install-cli.sh openclaw.ai/public/install-cli.sh",