



























@@ -317,6 +317,57 @@ jobs:
317317runs-on: ubuntu-24.04
318318timeout-minutes: 5
319319steps:
320+ - name: Request private evidence update
321+env:
322+RELEASE_PRIVATE_DISPATCH_TOKEN: ${{ secrets.OPENCLAW_RELEASES_PRIVATE_DISPATCH_TOKEN }}
323+TARGET_REF: ${{ inputs.ref }}
324+PACKAGE_SPEC: ${{ inputs.npm_telegram_package_spec }}
325+GITHUB_RUN_ID_VALUE: ${{ github.run_id }}
326+run: |
327+ set -euo pipefail
328+ if [[ -z "${RELEASE_PRIVATE_DISPATCH_TOKEN// }" ]]; then
329+ echo "OPENCLAW_RELEASES_PRIVATE_DISPATCH_TOKEN is not configured; skipping automatic private evidence update."
330+ exit 0
331+ fi
332+333+ release_id="${TARGET_REF#refs/tags/}"
334+ release_id="${release_id#v}"
335+ if [[ "$PACKAGE_SPEC" =~ ^openclaw@(.+)$ ]]; then
336+ release_id="${BASH_REMATCH[1]}"
337+ fi
338+ release_id="$(printf '%s' "$release_id" | tr '/:@ ' '----' | tr -cd 'A-Za-z0-9._-')"
339+ if [[ -z "$release_id" ]]; then
340+ echo "::error::Could not derive release evidence id from target ref '${TARGET_REF}'."
341+ exit 1
342+ fi
343+344+ payload="$(
345+ jq -cn \
346+ --arg full_validation_run_id "$GITHUB_RUN_ID_VALUE" \
347+ --arg release_id "$release_id" \
348+ --arg release_ref "$TARGET_REF" \
349+ --arg package_spec "$PACKAGE_SPEC" \
350+ --arg notes "Automatically requested by Full Release Validation ${GITHUB_RUN_ID_VALUE} after child workflows completed." \
351+ '{
352+ event_type: "openclaw_full_release_validation_completed",
353+ client_payload: {
354+ full_validation_run_id: $full_validation_run_id,
355+ release_id: $release_id,
356+ release_ref: $release_ref,
357+ package_spec: $package_spec,
358+ notes: $notes
359+ }
360+ }'
361+ )"
362+363+ curl --fail-with-body \
364+ -X POST \
365+ -H "Accept: application/vnd.github+json" \
366+ -H "Authorization: Bearer ${RELEASE_PRIVATE_DISPATCH_TOKEN}" \
367+ -H "X-GitHub-Api-Version: 2022-11-28" \
368+ https://api.github.com/repos/openclaw/releases-private/dispatches \
369+ -d "$payload"
370+320371 - name: Verify child workflow results
321372env:
322373NORMAL_CI_RESULT: ${{ needs.normal_ci.result }}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。