Skip to content

Commit 7158c19

Browse files
committed
fix enable check
1 parent c0572c9 commit 7158c19

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

e2e.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,8 @@ trigger_workflow_dispatch_and_await_completion() {
432432
info "Triggering workflow_dispatch for '$workflow_name'..."
433433

434434
# Enable the workflow first
435+
# NOTE: This must return early only when enabling fails. A prior bug
436+
# inverted this condition causing immediate failure even when enable succeeded.
435437
if ! enable_workflow "$workflow_name"; then
436438
return 1
437439
fi

0 commit comments

Comments
 (0)