mirror of
https://github.com/openclaw/clawhub.git
synced 2026-08-14 08:52:21 +00:00
ci: retarget CLAW-558 rerun to merged main
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
readonly SOURCE_SHA="f7d1d8e12bdde83fb2b20d4be763acdf4ccf3179"
|
||||
readonly SOURCE_SHA="89f5e62ef70e038319ec37dcf9f6dcd37b66dc65"
|
||||
readonly DEPLOYMENT="academic-chihuahua-392"
|
||||
readonly CONVEX_URL_EXPECTED="https://${DEPLOYMENT}.convex.cloud"
|
||||
readonly CONVEX_SITE="https://${DEPLOYMENT}.convex.site"
|
||||
|
||||
@@ -10,7 +10,7 @@ on:
|
||||
deploy_sha:
|
||||
description: "Exact CLAW-558 source SHA"
|
||||
required: true
|
||||
default: "f7d1d8e12bdde83fb2b20d4be763acdf4ccf3179"
|
||||
default: "89f5e62ef70e038319ec37dcf9f6dcd37b66dc65"
|
||||
type: string
|
||||
claw558_action:
|
||||
description: "Temporary CLAW-558 Test action"
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
git fetch --no-tags origin main
|
||||
main_sha="$(git rev-parse origin/main)"
|
||||
if [[ "$WORKFLOW_REF" == "refs/heads/pe/claw-557-test-admin-gate" ]]; then
|
||||
if [[ "$REQUESTED_DEPLOY_SHA" != "f7d1d8e12bdde83fb2b20d4be763acdf4ccf3179" ]]; then
|
||||
if [[ "$REQUESTED_DEPLOY_SHA" != "89f5e62ef70e038319ec37dcf9f6dcd37b66dc65" ]]; then
|
||||
echo "::error::CLAW-558 Test deploy must use the authorized exact source SHA"
|
||||
exit 1
|
||||
fi
|
||||
@@ -271,7 +271,7 @@ jobs:
|
||||
github.event_name == 'workflow_dispatch' &&
|
||||
github.ref == 'refs/heads/pe/claw-557-test-admin-gate' &&
|
||||
inputs.claw558_action == 'proof' &&
|
||||
inputs.deploy_sha == 'f7d1d8e12bdde83fb2b20d4be763acdf4ccf3179'
|
||||
inputs.deploy_sha == '89f5e62ef70e038319ec37dcf9f6dcd37b66dc65'
|
||||
runs-on: blacksmith-16vcpu-ubuntu-2404
|
||||
timeout-minutes: 45
|
||||
environment:
|
||||
@@ -284,7 +284,7 @@ jobs:
|
||||
|
||||
- uses: actions/checkout@v7.0.1
|
||||
with:
|
||||
ref: f7d1d8e12bdde83fb2b20d4be763acdf4ccf3179
|
||||
ref: 89f5e62ef70e038319ec37dcf9f6dcd37b66dc65
|
||||
path: source
|
||||
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
|
||||
@@ -357,7 +357,7 @@ jobs:
|
||||
github.event_name == 'workflow_dispatch' &&
|
||||
github.ref == 'refs/heads/pe/claw-557-test-admin-gate' &&
|
||||
inputs.claw558_action == 'cleanup' &&
|
||||
inputs.deploy_sha == 'f7d1d8e12bdde83fb2b20d4be763acdf4ccf3179'
|
||||
inputs.deploy_sha == '89f5e62ef70e038319ec37dcf9f6dcd37b66dc65'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
environment:
|
||||
@@ -370,7 +370,7 @@ jobs:
|
||||
|
||||
- uses: actions/checkout@v7.0.1
|
||||
with:
|
||||
ref: f7d1d8e12bdde83fb2b20d4be763acdf4ccf3179
|
||||
ref: 89f5e62ef70e038319ec37dcf9f6dcd37b66dc65
|
||||
path: source
|
||||
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
|
||||
|
||||
Reference in New Issue
Block a user