mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
fix(release): pin rehearsal preflight to branch head
This commit is contained in:
@@ -63,6 +63,7 @@ jobs:
|
||||
PREFLIGHT_ONLY: ${{ inputs.preflight_only }}
|
||||
RELEASE_NPM_DIST_TAG: ${{ inputs.npm_dist_tag }}
|
||||
WORKFLOW_REF: ${{ github.ref }}
|
||||
WORKFLOW_SHA: ${{ github.sha }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [[ "${PREFLIGHT_ONLY}" != "true" ]]; then
|
||||
@@ -85,6 +86,10 @@ jobs:
|
||||
echo "This throwaway workflow must run from dev/throwaway-2026.0.33-v6.8."
|
||||
exit 1
|
||||
fi
|
||||
if [[ "${RELEASE_REF,,}" != "${WORKFLOW_SHA,,}" ]]; then
|
||||
echo "This throwaway workflow requires tag to equal the selected branch head SHA."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
Reference in New Issue
Block a user