Skip to main content

Module hook

Module hook 

Source
Expand description

Lifecycle hook execution and policy enforcement.

Functionsยง

execute_hook_command
Executes a shell command inside working_dir with env_vars injected.
run_post_finish_hook
Runs post_finish hook: non-fatal warning on failure.
run_post_start_hook
Runs post_start hook: non-fatal warning on failure, does not abort worktree creation.
run_pre_finish_hook
Runs pre_finish hook: fatal gatekeeper aborting execution unless force is true.