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",