Skip to content

Commit c09bfac

Browse files
committed
fix(ci): keep manual orchestrated dispatch usable
1 parent 8d734ec commit c09bfac

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/test-suite-e2e-tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
echo "LOCK_FILE=$lock_file" >> "$GITHUB_ENV"
212212
213213
- name: Require frozen baseline lock for orchestrated runs
214-
if: ${{ inputs.orchestrated && inputs.lock-artifact-name == '' }}
214+
if: ${{ inputs.orchestrated && inputs.lock-artifact-name == '' && github.event_name != 'workflow_dispatch' }}
215215
run: |
216216
echo "Orchestrated e2e requires a frozen baseline lock artifact" >&2
217217
exit 1
@@ -227,6 +227,17 @@ jobs:
227227
fi
228228
echo "LOCK_FILE=$lock_file" >> "$GITHUB_ENV"
229229
230+
- name: Resolve orchestrated manual baseline lock once
231+
if: ${{ inputs.lock-artifact-name == '' && inputs.orchestrated && github.event_name == 'workflow_dispatch' }}
232+
working-directory: test-suite/fhevm
233+
run: |
234+
lock_file="$(./fhevm-cli resolve --target latest-main | tail -n1)"
235+
if [ ! -f "$lock_file" ]; then
236+
echo "Could not locate resolved lock file: $lock_file" >&2
237+
exit 1
238+
fi
239+
echo "LOCK_FILE=$lock_file" >> "$GITHUB_ENV"
240+
230241
- name: Resolve stack plan and display effective component versions
231242
working-directory: test-suite/fhevm
232243
run: |

0 commit comments

Comments
 (0)