fix(ci): bound release evidence dispatch (#108898)

This commit is contained in:
tzy-17
2026-07-17 02:38:19 +08:00
committed by GitHub
parent f084ab2240
commit e9b974e18b
2 changed files with 5 additions and 0 deletions

View File

@@ -1906,6 +1906,8 @@ jobs:
)"
if ! curl --fail-with-body \
--connect-timeout 10 \
--max-time 30 \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${RELEASES_DISPATCH_TOKEN}" \

View File

@@ -337,6 +337,9 @@ describe("release validation no-push transport", () => {
expect(verify.run).toContain('"openclaw-release-checks.yml"');
expect(dispatch.run).not.toContain('GITHUB_RUN_ID_VALUE="$EVIDENCE_ROOT_RUN_ID"');
expect(dispatch.run).toContain("reused green product evidence from chain-root run");
expect(dispatch.run).toContain("--connect-timeout 10");
expect(dispatch.run).toContain("--max-time 30");
expect(dispatch.run).toContain("https://api.github.com/repos/openclaw/releases/dispatches");
});
it("publishes an attempt-qualified canonical manifest plus a temporary legacy alias", () => {