mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix(release): bind bootstrap publish workflow identity
This commit is contained in:
@@ -823,6 +823,8 @@ jobs:
|
||||
ARTIFACT_SIZE: ${{ needs.pack_bootstrap_plugins.outputs.artifact_size }}
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
TARGET_SHA: ${{ needs.resolve_bootstrap_plan.outputs.ref_revision }}
|
||||
WORKFLOW_HEAD_BRANCH: ${{ github.ref_name }}
|
||||
WORKFLOW_REF: ${{ github.ref }}
|
||||
WORKFLOW_SHA: ${{ github.sha }}
|
||||
CLAWHUB_TOOLCHAIN_INTEGRITY: ${{ steps.clawhub_cli.outputs.integrity }}
|
||||
CLAWHUB_TOOLCHAIN_SHA256: ${{ steps.clawhub_cli.outputs.lock_sha256 }}
|
||||
@@ -844,6 +846,8 @@ jobs:
|
||||
--run-attempt "${ARTIFACT_RUN_ATTEMPT}" \
|
||||
--run-id "${ARTIFACT_RUN_ID}" \
|
||||
--target-sha "${TARGET_SHA}" \
|
||||
--workflow-head-branch "${WORKFLOW_HEAD_BRANCH}" \
|
||||
--workflow-ref "${WORKFLOW_REF}" \
|
||||
--workflow-sha "${WORKFLOW_SHA}"
|
||||
|
||||
- name: Rehash immutable ClawHub bootstrap artifacts
|
||||
|
||||
@@ -256,6 +256,8 @@ describe("Plugin ClawHub New workflow", () => {
|
||||
expect(binding).toContain("--clawhub-toolchain-integrity");
|
||||
expect(binding).toContain("--clawhub-toolchain-sha256");
|
||||
expect(binding).toContain("--clawhub-toolchain-version");
|
||||
expect(binding).toContain('--workflow-head-branch "${WORKFLOW_HEAD_BRANCH}"');
|
||||
expect(binding).toContain('--workflow-ref "${WORKFLOW_REF}"');
|
||||
});
|
||||
|
||||
it("rehashes and validates tgz identity before exposing the token", () => {
|
||||
|
||||
Reference in New Issue
Block a user