ci: gate slack live qa credentials

This commit is contained in:
Vincent Koc
2026-05-04 12:13:43 -07:00
parent 2d849bbafa
commit a3f6f24b79
3 changed files with 23 additions and 4 deletions

View File

@@ -575,6 +575,18 @@ describe("package artifact reuse", () => {
);
});
it("keeps Slack live QA disabled in CI until credentials are provisioned", () => {
const releaseWorkflow = readFileSync(RELEASE_CHECKS_WORKFLOW, "utf8");
const qaWorkflow = readFileSync(QA_LIVE_TRANSPORTS_WORKFLOW, "utf8");
expect(releaseWorkflow).toContain("qa_live_slack_enabled=false");
expect(releaseWorkflow).toContain(
"RELEASE_QA_SLACK_LIVE_CI_ENABLED: ${{ vars.OPENCLAW_QA_SLACK_LIVE_CI_ENABLED || 'false' }}",
);
expect(releaseWorkflow).toContain("vars.OPENCLAW_QA_SLACK_LIVE_CI_ENABLED == 'true'");
expect(qaWorkflow).toContain("if: vars.OPENCLAW_QA_SLACK_LIVE_CI_ENABLED == 'true'");
});
it("names package acceptance Telegram as artifact-backed package validation", () => {
const workflow = readFileSync(PACKAGE_ACCEPTANCE_WORKFLOW, "utf8");